Skip to content

Tag Archives: openssl

Generate a CSR from a Private RSA Key

15-Jan-09

To generate the CSR, do the following:
openssl req -new -nodes -key host.key -out host.csr
See also: Generating Certificate Signing Requests.

Create a Self-Signed Certificate with OpenSSL

15-Jan-09

To create a self-signed certificate for internal or testing use, enter the following commands:
openssl genrsa 1024 > host.key
openssl req -new -x509 -nodes -sha1 -days 1825 -key host.key > host.cert