LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2020, 02:15 AM   #1
tonistefanovski
LQ Newbie
 
Registered: May 2018
Posts: 1

Rep: Reputation: Disabled
Unhappy Install .p12 certificate ubuntu


Dear all,
I have to install .p12 file (certificate) issued by local qualified suppler on Ubuntu 12.04/16.04 and 18.04 on nearly 100 PC-s . Certificate will be used primarily with Firefox. Importing certificate in Firefox is not enough!!!
Is there any tutorial/help for installing this type of certificate as a system wide, not only for Firefox???

Thank you at advance,

Tony
 
Old 07-22-2020, 04:32 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
First of all, could you please clarify why importing the certificate in Firefox is not enough?

Also, please provide more details about your setup. You see, PKCS #12 usually includes both the public certificate (chain) (that likely should be installed on ~100 PCs) and the private key (that most probably shouldn't). You can extract them with openssl. Another possibility is importing .p12 into Firefox and then exporting the public certificates only (Your Certificates > View... > Details > Export...).

After exporting the certificate (chain) with either method, you'll put it somewhere (I'd recommend /usr/local/share/ca-certificates/) and use update-ca-certificates to make it known to the system.

OTOH, if you want to maintain a pkcs12 keystore on each PC, you should have a look at keytool that comes with Java (package default-jre-headless).

Last edited by shruggy; 07-22-2020 at 04:36 AM.
 
2 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] The certificate is expired. Please ensure you have the correct certificate and your s manalisharmabe Linux - General 6 09-09-2013 12:51 PM
Verify return code: 19 (self signed certificate in certificate chain) tikit Linux - Server 1 04-10-2012 05:21 PM
Building a certificate chain from the certificate using openSSL aravinda78 Linux - Security 1 11-10-2008 01:51 AM
Can I retrieve certificate expiry date from an openssl certificate (command line) davee Linux - Security 1 07-21-2006 10:28 AM
Howto connect Sony Cybershot DSC P12 via USB klz Linux - Newbie 3 10-25-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration