openssl rsa -outform der -in privkey.pem -out privkey.key openssl x509 -outform der -in fullchain.pem -out fullchain.crt