I need to add a p7b root ca to Ubuntu, in order to connect to services/servers for my company.
Based on what I have found on the internet, it seems that I need to convert this file to either .crt
or .cer
. I used the following commands to convert the file:
openssl pkcs7 -inform der -in cert.p7b -out cert.cer
openssl pkcs7 -inform der -in cert.p7b -out cert.crt
I then moved these files (I actually tried them one at a time) into /usr/share/ca-certificates/mycompany
, and then added mycompany/cert.cer
and mycompany/cert.crt
to the /etc/ca-certificates.conf
. After performing update-ca-certificates
I still get root CA warning that the certificates/chain isn't in the system.
The only direction my company has given is for both Windows and adding this file into the OSX keychain. Any help is appreciated, because I don't like disabling https while using remote services/tools for my company.