openssl x509 -outform der -in certificate.pem -out certificate.der