Creating Private Key and CSR:
It is recommended to use 'openssl' command to generate a Private Key and CSR. See 'CSR Generation: Using OpenSSL for Apache'.
Keep the Private Key file safe on your server, and submit the Certificate Signing Request (CSR) with your SSL Certificate order, and complete the necessary validations to get the certificate issued.
Configuring your Certificate :
After successful validation of your certificate request, you will receive two files from Sectigo, if you have chosen the web server software as 'Apache and mod_ssl'. Those files will be likely in these names 'yourDomainName.crt' and 'yourDomainName.ca-bundle'. Put these two files in \\xampp\\apache\\conf\\ssl.crt\\ folder. Also move the Private Key file ( referred here as server.key ) into \\xamp\\apache\\conf\\ssl.key\\ folder.
1. Open the config file at \\xampp\\apache\\conf\\extra\\httpd-ssl.conf
. Find the following directives and assign the correct file paths of the new certificate, ca-bundle and the private key.
SSLCertificateKeyFile \\xamp\\apache\\conf\\ssl.key\\server.key
SSLCertificateFile \\xampp\\apache\\conf\\ssl.crt\\yourDomainName.crt
SSLCertificateChainFile \\xampp\\apache\\conf\\ssl.crt\\yourDomainName.ca-bundle
Note: Please ensure that you are using the absolute path of '\\xampp\\apache\\conf\\' directory on the configuration.
2. Save the changes and restart Apache.
3. Verify the installation using Qualys SSL Server Test