OpenSSL Usage

Display certificate request:

openssl req -noout -text -in /etc/apache2/ssl/server2007.csr

Display to whom it was issued from PEM file:

openssl x509 -noout -in imapd.pem -subject

Display certificate:

openssl x509 -noout -text -in /etc/apache2/ssl/server2007.crt

Create key:

openssl genrsa 2048 > www.linuxia.de.key

Create certificate request from existing key:

openssl req -new -key www.linuxia.de.key -out server2007.csr

For more information, check the OpenSSL Command-Line HOWTO.

Tags: