ssl - How to get .pem file from .key and .crt files? - Stack Overflow - 0 views
-
openssl rsa -in server.key -text > private.pem openssl x509 -inform PEM -in server.crt > public.pem
-
A pem file contains the certificate and the private key.