Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

scissorband

macrumors member
Original poster
Jan 16, 2010
88
0
I tried the command:
Code:
$ openssl pkcs8 -in server.key.pem pkcs1 -out newserver.key.pem -nocrypt
But the results of the new key are the exact same as the old PKCS8 formatted one.
 
I don't think you will be able to do this because the two PKCS standards are designed to do different functions:

PKCS1 is designed for encrypting and signing Public Keys

PKCS8 is designed for dealing exclusively with Private Keys


So, I don't think you could just convert one to the other.....but I'm not an expert.

Try the openssl community for more details.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.