Extract from pem¶ Extract certificate from a pem file¶ openssl x509 -in FILE.pem -out cert1.crt Extract private key from a pem file¶ openssl rsa -in FILE.pem -out cert1.key