How to Generate a Key and Certificate Request Using OpenSSL
If you want to start up a web server or perhaps just want to add SSL capabilities to a pre-existing website, this quick tutorial may be useful to you. In a Unix environment, generating a key and certificate request or .key and .csr with OpenSSL is actually quite simple and stress-free. OpenSSL is a cryptographic toolkit that uses the SSL and TLS protocols, so this is what we will be using. Note: This tutorial was made using Ubuntu Server. Installing OpenSSL If you do not already have OpenSSL, you can quickly install it with: sudo apt-get install openssl Did you know OpenSSL originated from a project called SSLeay which was developed in 1995? Generating a Key and Certificate Request With that out of the way, let's move on to making the key and Certificate Signing Request (or CSR for short.) This can all be done with one command. It's a doozy, but I'll explain each part of the command so you'll know what to use each bit for in the future. Head back to your termina...