Certificate Deployment

This page covers the Certificate Deployment process

How to Deploy a Certificate to an Environment

Certificate deployment can be used to add certificated to the instance to be used by an application or by a package such as a web server.

In order to deploy a certificate to an environment you must first add the certificate as a resource. Please check Management Resources - Certificates for more details on adding key resources.

To deploy a certificate on an environment, go to the "Certificates" section of the main environment page.

In the "SSL Certificates" box, there will be a list of available certificates that were previously added by accessing the "Certificates" page under "Environment Resources" in the main Bunnyshell side-bar. That is the only place where new certificates can be added.

Select one or more keys in the "Certificates" box:

Hit to proceed. After the job is done, the newly deployed certificates will be visible on the same page as follows:

Where are the Certificates stored ?

After a deployment you can find the all the components of a certificated on the instance in the following location:

  • Certificate in /etc/ssl/certs/<domain>.crt

  • Bundle in /etc/ssl/certs/<domain>_bundle.crt

  • Chain in /etc/ssl/certs/<domain>_ca.crt

  • Private key in /etc/ssl/private/<domain>.key

The Bundle file contains both the Certificate and the Chain.

In order to change the location of the certificates Bunnyconfigs can be used. Certificates are not versioned on the instance so each new deployment will overwrite the existing certificate.