SSL

From My Notepad
Jump to: navigation, search

Linux OpenSSL: Generate CSR

cd /etc/ssl/private
openssl genrsa -des3 -out server.key 2048            # Generate a private key
openssl req -new -key server.key -out server.csr     # Generate a CSR
cp server.key server.key.org                         # Backup the original key
openssl rsa -in server.key.org -out server.key       # Remove the passphrase from the original key