SSLCertificateChainFile /path/to/ca_bundle.crt SSLCertificateKeyFile /path/to/private.key SSLCertificateFile /path/to/certificate.crt This way, you will be able to undo any changes in case something goes wrong.Ī typical Virtual Host file looks like the file below: Before you do so, please make sure to create a backup of your current *.conf file. Once the Apache configuration file is located, you will need to configure the virtual host section of your website. In case you cannot find your configuration file, you can run the following command: sudo a2ensite your_site_name Typically, you will find the configuration file in /etc/apache2/sites-enabled/your_site_name. Next, you will need to find the Apache configuration file on your server. Typically, this directory is /etc/ssl/ for your certificate.crt and ca_bundle.crt files, and /etc/ssl/private/ for your private.key file.
Still haven't downloaded your certificate? To get instructions for how to download your certificate (.zip), you can click here.Īfter downloading your certificate, you should have a ZIP containing the following certificate files:įirst, copy your certificate files to the directory where you keep your certificate and key files. You can find instructions for installing an SSL certificate on an Ubuntu web server below.īefore you start, please make sure you have downloaded your certificate files.