0

OpenSSL – Convert RSA Key to private key

When working with SSL certificates which have been generated you sometimes need to toggle between RSA key to Private key . This depends mostly on middleware you are using

openssl pkcs8 -topk8 -nocrypt -in privkey.pem

and vice versa

openssl rsa -in server.key -out server_new.key

rafpe

Leave a Reply

Your email address will not be published. Required fields are marked *