Home > OpenSSL > QUICK START: CREATE A CSR WITH OPENSSL

QUICK START: CREATE A CSR WITH OPENSSL

The following commands can be used to quick-create a CSR and a private key in OpenSSL;

$ openssl genrsa -des3 -out private.key 2048 – Generate a 2048 bits private key.
$ openssl req -new -key private.key -out cert.csr – Generate the CSR with the newly created private key.
$ openssl pkcs12 –export –inkey private.key –in signed-csr.cer –out cert.p12 – Create a file which holds the public and private key (password protected).

Categories: OpenSSL Tags:
  1. No comments yet.
  1. No trackbacks yet.