LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-12-2009, 03:52 AM   #1
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Rep: Reputation: 15
where are Firefox ssl certificates stored


Hi

When you acces secure website you need to accept a SSL certificate if you click on store certificate permernanty where in the file system does it store?
 
Old 03-12-2009, 04:13 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
The certificates are saved in cert8.db in your ~/.mozilla/firefox profile.
 
Old 03-12-2009, 04:28 AM   #3
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
The certificates are saved in cert8.db in your ~/.mozilla/firefox profile.
It does not seem like it is that file cause if i save the cert8.db to another PC it still asks to accept the certificate
 
Old 03-12-2009, 05:07 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
What are you trying to do and what is the problem you have?
 
Old 03-12-2009, 05:47 AM   #5
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
What are you trying to do and what is the problem you have?
we have PC at work that have a customer Novell Linux Image. The users access a secure website that asks them to accept the ssl certificate so they just click accept and all is ok. What I am trying to do is to bake the certificate into the image so that if they access that site it will allow them in without asking them to accept the certificate

??
 
Old 03-12-2009, 06:22 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
I guess there must be a specific user in the image you create, so your users use this username to login.
In that case you have to create a (default) firefox profile in the user's homedir and copy there cert8.db
 
Old 03-12-2009, 06:24 AM   #7
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
I guess there must be a specific user in the image you create, so your users use this username to login.
In that case you have to create a (default) firefox profile in the user's homedir and copy there cert8.db
yes i have done that but it still asks to accept the certificate
 
Old 03-12-2009, 06:38 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Run
Code:
firefox -ProfileManager
to create a clean profile, but not start firexox after that. Just note the location of the profile directory.
I think that you should name it "default" since it's going to be used by many users.
Copy the cert8.db from the profile you want to the newly created profile.
Then start firefox with the new profile
Code:
firefox -P newprofile
and visit the ssl site you want. If everything is OK it will not ask you to accept the certificate.
Then you can copy that profile in user's homedir in the image you want to create
 
Old 03-12-2009, 07:31 AM   #9
B-Boy
Member
 
Registered: Jan 2008
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
Run
Code:
firefox -ProfileManager
to create a clean profile, but not start firexox after that. Just note the location of the profile directory.
I think that you should name it "default" since it's going to be used by many users.
Copy the cert8.db from the profile you want to the newly created profile.
Then start firefox with the new profile
Code:
firefox -P newprofile
and visit the ssl site you want. If everything is OK it will not ask you to accept the certificate.
Then you can copy that profile in user's homedir in the image you want to create
thnaks I will try that
 
Old 11-28-2012, 01:13 PM   #10
Geremia
Member
 
Registered: Apr 2011
Distribution: Slackware 14.1
Posts: 218

Rep: Reputation: 5
Quote:
Originally Posted by B-Boy View Post
When you acces secure website you need to accept a SSL certificate if you click on store certificate permernanty where in the file system does it store?
Also, /etc/ssl/certs has them all for your system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Certificates SBN Linux - Security 1 09-30-2006 03:29 AM
SSL Certificates ashiers Linux - Security 2 06-30-2006 08:39 AM
SSL certificates the-chains Linux - Software 0 11-15-2004 07:12 PM
webmin//apache//mandrake9.2~ where are site certificates stored?? mossy Linux - Software 4 03-22-2004 06:32 PM
ssl certificates champ Linux - Security 2 04-05-2003 09:47 AM


All times are GMT -5. The time now is 09:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration