NCSA Home
Staff Directory | Intranet |

Useful OpenSSL Commands

Note: For printing purposes, you can SHOW ALL or HIDE ALL Instructions.

OpenSSL is a very powerful cryptography utility, perhaps a little too powerful for the average user. With all the different command line options, it can be a daunting task figuring out how to do exactly what you want to do. Here are several common tasks you may find useful. Note that some commands may require version 0.9.8a and above.

Creating Certificates

  • Generate A Certificate Signing Request
  • Create A Self-Signed Certificate From A Certificate Signing Request
  • Generate A Self-Signed Certificate From Scratch

Viewing Certificates

  • View The Contents Of A Certificate Signing Request
  • View The Contents Of A Certificate
  • View The Signer Of A Certificate
  • Verify A Certificate Matches A Private Key
  • Find The Hash Value Of A Certificate

Proxy Certificates

  • Allow Proxy Certificates For Client Verification
  • Generate A Certificate Signing Request For A Proxy Certificate
  • Create A Proxy Certificate From A Certificate Signing Request

Private Keys

  • Create A Private Key
  • Encrypt A Private Key
  • Decrypt A Private Key

PKCS12 / PEM Formats

  • Convert PEM Format Certificate To PKCS12 Format Certificate
  • Convert PKCS12 Format Certificate To PEM Format Certificate
  • View The Contents Of A PKCS12 Formatted File

Testing

  • Run A Test Server
  • Run A Test Client