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 2048
  Generating RSA private key, 2048 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: 2010/10/13 11:10 by domingo
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki