Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export certificate from Mac OS X to get pair of .cert and .key files ?

I have on Mac 10.10.1 created certificate and I have in keychain access certificate with private key. On Windows I have to use this and I need .cert and .key file. How to export this certificate to get those two files ? I can export as .pb12 or .cert but cannot export as pair .cert and .key (private key )

like image 944
PaolaJ. Avatar asked Dec 01 '14 22:12

PaolaJ.


1 Answers

What kind of certificate do you want to export? You could try to save the certificate as *.p12 file and try one of these solutions: https://www.icts.uiowa.edu/confluence/pages/viewpage.action?pageId=32735365

e.g.

openssl pkcs12 -nocerts -in yourcert.p12 -out yourkey.key

like image 190
Rene Kann Avatar answered Sep 22 '22 06:09

Rene Kann