Convert openssl .key file to .pem · GitHub
gist.github.com › amolkhanorkar › 10375087openssl x509 -inform DER -outform PEM -in server.crt -out server.crt.pem: For server.key, use openssl rsa in place of openssl x509. The server.key is likely your private key, and the .crt file is the returned, signed, x509 certificate. If this is for a Web server, and you cannot specify loading a separate private and public key, you may need to ...