When you generate a CSR to request an SSL certificate to request an SSL certificate a private key is created on your local server.
When you generate a CSR to request an SSL certificate to request an SSL certificate a private key is created on your local server. You shouldn't ever send your private key to someone else (including us!), but you'll need to know where it is to complete the installation of your SSL certificate. Below are some common places to find the private key on your server.
On Windows servers, the OS manages the certificate for you in a hidden file, but you can export a .PFX file that contains both the certificate and the private key.
Once you have the .pfx file, you can keep it as a backup of the key, or use it to install the certificate on another Windows server. If you're trying to use the certificate on a different OS, you'll need to split the .pfx into the certificate and the private key.
You can find the location of your private key in your Apache configuration file, which is named .httpd.conf
or apache2.conf
. The line SSLCertificateKeyFileshows you the file path to your private key.
The path to your private key is listed in your site's virtual host file. Navigate to the server block for your site (by default, it's located in the /var/www directory). Open the configuration file for your site and search for ssl_certificate_key which will show the path to your private key.
Need help? Find help in our knowledgebase or simply chat to us .
Wurk and its subsidiaries are registered services provider.