2. Generate certificates and keys
Under linux
Step 1: Generate key
Command: OpenSSL genrsa1024 > server.key.
Description: This is the server.key file generated by 128-bit rsa algorithm.
Step 2: Generate a certificate request file
Command: OpenSSL req-new-keyserver.key > server.csr.
Description: This is the certificate request file server.csr generated with the key of step 1 This step asks a lot of questions and inputs them one by one.
Step 3: Generate a certificate