Common OpenSSL Commands with Keys and Certificates
Generate RSA private key with certificate in a single command
/ Using Encrypted Connections / Creating SSL and RSA Certificates and Keys / Creating SSL Certificates and Keys Using openssl 5.3.2 Creating SSL Certificates and Keys Using openssl This section describes how to use the openssl command to set up SSL certificate and key files for use by MySQL. Be sure to properly destroy and wipe the old key file. Creating a new file with a new passphrase will not help if the old file remains available. Videos illustrating use of PuTTYgen Using PuTTYgen to generate an SSH key. Using PuTTYgen to generate an SSH key. How to set up PuTTY SSH keys for passwordless logins using Pagent. Generate an RSA private key using default parameters: openssl genpkey -algorithm RSA -out key.pem. Encrypt output private key using 128 bit AES and the passphrase 'hello': openssl genpkey -algorithm RSA -out key.pem -aes-128-cbc -pass pass:hello. Generate a 2048 bit RSA key using 3 as the public exponent.