Benutzer-Werkzeuge

Webseiten-Werkzeuge


sec

Zertifikate

Zur Erstellung von .pem .key aus einer .pfx-Datei

  1. To convert a PFX file to a PEM file that contains both the certificate and private key:
    openssl pkcs12 -in filename.pfx -out cert.pem -nodes
  2. To convert a PFX file to separate public and private key PEM files:
    • Extracts the private key form a PFX to a PEM file:
      openssl pkcs12 -in filename.pfx -nocerts -out key.pem
    • Exports the certificate (includes the public key only):
      openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem
    • Removes the password (paraphrase) from the extracted private key (optional):
      openssl rsa -in key.pem -out server.key
sec.txt · Zuletzt geändert: von ms

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki