Generate A Private Key
From RZWiki
To generate a new private key using OpenSSL, use the openssl genrsa command as shown below;
Generate a New Private Key
openssl genrsa -out key_name.key 1024
You should also modify the file's permissions as follows;
chmod 400 key_name.key
Related Articles
Our other OpenSSL articles
Information on OpenSSL Commands
(replacing the # with an @) |






