Tobi's small collection of useful OpenSSL commands

This collection is a random product of generating an SSL key for this domain...

Generate an unencrypted key and a CSR:

openssl req -newkey rsa:1024 -nodes -keyout key.pem -out req.pem

Generate an unencrypted RSA key with 1024 bits:

openssl genrsa -out key.pem 1024

Look at the content of a CSR:

openssl req -noout -text -in req.pem

Calculate SHA1 fingerprint of CSR:

openssl req -noout -modulus -in req.pem | openssl sha1 -c