SSL Zertifikatsanforderung
openssl req -nodes -new -newkey rsa:2048 -sha256 -out csr.pem
SSL Zertifikate Konvertieren
PKCS12 (P12 / PFX) zu PEM
openssl pkcs12 -in certificate.pfx -cacerts -nokeys -chain -out ca.pem
openssl pkcs12 -in certificate.pfx -clcerts -nokeys -out certificate.pem
openssl pkcs12 -in certificate.pfx -nocerts -nodes -out certificate.key
PKCS12 (P12 / PFX) zu Java Keystore
keytool -importkeystore -srckeystore certificate.pfx -srcstoretype pkcs12 -deststoretype jks -destkeystore certificate.jks
PEM zu PKCS12 (P12 / PFX)
openssl pkcs12 -inkey certificate.key -in certificate.pem -export -out certificate.pfx