OpenSSL 3 · Converting, hashing and encrypting
Convert PEM to DER
Convert a certificate between text (PEM) and binary (DER) encodings.
openssl x509 -in cert.pem -outform DER -out cert.der
Official OpenSSL 3 documentation
More converting, hashing and encrypting commands
- Bundle a key and certificate as PKCS#12
- Extract from a PKCS#12 bundle
- Hash a file
- Generate random bytes
- Encode and decode Base64
- Encrypt a file with a password
All converting, hashing and encrypting commands · OpenSSL 3 cheatsheet