I keep forgetting these one line OpenSSL commands – perhaps if they are here, I’ll remember —
- Create private key file : openssl genrsa -out server.key 2048
- Create certificate signing request (to send to e.g. GoDaddy) – openssl req -new -key server.key -out server.csrĀ
- Verify a certificate – openssl verify file.name
- To convert a .crt (base64 encoded) and .key file into a .pem file – just cat them together – cat something.crt something.key > something.pem