PEM ↔ DER 轉換器
在 PEM 和 DER 憑證格式間轉換
Usage Guide
Supported Conversions
- Certificates: Convert X.509 certificates between PEM and DER
- Private Keys: Convert RSA/ECC private keys (supports password-protected keys)
- CSRs: Convert Certificate Signing Requests
OpenSSL Reference
# Certificate: PEM to DER
openssl x509 -in cert.pem -outform DER -out cert.der
# Certificate: DER to PEM
openssl x509 -in cert.der -inform DER -out cert.pem
# Private Key: PEM to DER
openssl pkcs8 -in key.pem -outform DER -out key.der -nocrypt