View Full Version : Exporting a Certificate and Private Key from Keychain
chrisgrange
August 3rd, 2009, 08:24 AM
I've recently upgraded our web server and wanted to export the SSL certs from our old one to our new one. When I tried to export the certs and keys (as .p12 files) from our old server it kept asking me for a password. No matter which password I put in (including no password) it said that I had entered it incorrectly. The strange thing is that when I created the certificate requests and submitted them to our Cert provider (IPSCA) I did not create a private key password. I can't find any good documentation for certs in Leopard Server. Any ideas?
Scoops98
August 3rd, 2009, 10:56 PM
I've had the same issue with exporting the root certificate. No help from me I'm afraid. Apple's support documents for sever leave much to be desired.
chrisgrange
August 4th, 2009, 06:42 AM
Solved! Although not the most intuitive solution. You have to run Keychain Access as root. Open up a Terminal window and type:-
sudo /Applications/Utilities/Keychain\ Access.app/Contents/MacOS/Keychain\ Access
Enter your password and keychain will launch. You can now export Certs and private keys. It will still ask you for a password but you can leave it blank.
Hope this helps someone.
ajpro
August 14th, 2009, 05:27 PM
Thank you! That helped me, after about an hour of staring at my screen and trying all the passwords I could think of.
"Not the most intuitive solution". Hehe. And not explained in the online help either, so thanks again!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by
vBSEO 3.3.0 RC1