Use an existing SSL certificate (private cloud) - x360Sync

Written By Heather Hootman ()

Updated at July 1st, 2021

Alternatively, if you already have the required .key file, .crt file, and bundle.crt file, you can simply move these files into your Apache directory. You must also update the Apache httpd.conf file to reflect this change.

To use an existing SSL certificate with Apache:

  1. In your server, copy the following files:
    • .key file
    • .crt file
    • bundle.crt file
  2. Paste the three files into your Apache SSL directory (for example, C:\Apache24\conf\ssl).
  3. Navigate to Apache’s conf directory (for example, C:\Apache24\conf\) and open the httpd.conf file.
  4. In the VirtualHost section, update the following lines:
    • SSLCertificateFile "C:\Apache24\conf\ssl\yourdomainname.crt"
    • SSLCertificateKeyFile "C:\Apache24\conf\ssl\yourdomainname.key"
    • SSLCertificateChainFile "C:\Apache24\conf\ssl\yourbundle.crt"
  5. For example:
    < VirtualHost_default_:510>
    SSLEngine on
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile "C:\Apache24\conf\ssl\anchor.crt"
    SSLCertificateKeyFile "C:\Apache24\conf\ssl\anchor.key"
    SSLCertificateChainFile "C:\Apache24\conf\ssl\anchorbundle.crt"
    AllowEncodedSlashes On
    </VirtualHost>
    Your SSL certificate is now ready for use with Apache.