OpenSSL
Create RSA key
-nodes
- no DES, no password prompt
-days 365
- make valid for a year
Extract .key and .crt from .PEM file
- print certificate information:
sudo openssl x509 -text -noout -in cert.pem
- print expiration date:
sudo openssl x509 -enddate -noout -in cert.pem