How to create a self-signed SSL Certificate

…  which can be used for testing purposes or internal usage

.. Step 1: Generate a Private Key

.. Step 2: Generate a CSR (Certificate Signing Request)

.. Step 3: Remove Passphrase from Key

.. Step 4: Generating a Self-Signed Certificate

.. Step 5: Installing the Private Key and Certificate

.. Step 6: Configuring SSL Enabled Virtual Hosts

..  Step 7: Restart Apache and Test