I have been following instructions from the SSL cert provider to get a cert setup for my domain. They gave me a command-line argument to run that created a .csr file and a .pem file. I provided the information from the CSR file and the cert was generated. I now have a .ca-bundle, .crt and a .p7b file that the SSL provider gave back to me. I am trying to get this all working with Apache but I need to have a .key file in order to finish this. Where do I get the private key from?
1 Answer
The key should have been auto-generated along with the CSR file. Generally the file with a .PEM extension is the one that contains your SSL private key. Open the file, If it begins with -----BEGIN PRIVATE KEY-----, then this is the correct file. You can rename it if you wish to match the formatting that the guide is telling you to do. This file is essential. If you have lost it, you will need to regenerate the certificate and start over again.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures