Monthly Archives: April 2015

Common OpenSSL commands

1. Create a new public and private key using RSA: openssl req -x509 -nodes -days 1825 -newkey rsa:1024 -keyout /tmp/mycert.key -out /tmp/mycert.pem -subj “/C=US/O=IBM/CN=mycert” 2. Generate a public key based upon existing private key: openssl req -x509 -nodes -days 1825 … Continue reading

Posted in Security