Many OpenSSL commands require reading in a private key. While you can often create of a private key in the course of running the command, you may want to have a single key that you use for multiple commands. To create a private key, use the following openssl command:

  > openssl genrsa -des3 -out key.pem 1024
  Generating RSA private key, 1024 bit long modulus
  ......++++++
  .................++++++
  e is 65537 (0x10001)
  Enter pass phrase for key.pem:
  Verifying - Enter pass phrase for key.pem:
  >

Here's an explanation of the command line options:

 
indexes/create_a_private_key.txt · Last modified: 2007/07/14 22:01 by domingo
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki