SSL and HTTPS with Your Own Certificate
HTTPS on every website, with your own certificate
Put your certificate on a site
Every project serves HTTPS with your own certificate. Paste it in Setup SSL and the site uses it at once. A certificate from any trusted CA works, and so does a CDN origin certificate, for example a Cloudflare Origin Certificate.
01 · Install a certificate
- Click Setup SSL. The SSL Certificate Setup dialog opens.
- In Certificate (PEM format), paste the contents of the
.crtfile. It starts with-----BEGIN CERTIFICATE-----. - In Private Key (PEM format), paste the contents of the
.keyfile. - In Certificate Chain (optional), paste the intermediate certificates (the CA bundle).
- Click Install Certificate.
Opensolr checks that the key belongs to the certificate, points the project's existing virtual host at the new files and reloads Apache. Nothing else in the virtual host changes.
02 · Good to know
- Use a certificate with an RSA private key. The key check refuses other key types.
- The project needs a virtual host first. Without one, the certificate files are saved and you are asked to click Create VHost, then install again.
- Until you install yours, a new project uses a temporary self-signed certificate. View Certificate tells you so.
- One certificate for several names, such as
example.comandwww.example.com: add the extra names as Server Aliases in Edit Settings, and use a certificate that lists all of them.
03 · View Certificate
Valid, Expiring Soon (less than 14 days left) or Expired.
Days until the certificate expires.
Which site, who issued the certificate, and its end date.
The project's info panel also shows its SSL Status.
04 · Renewal
Your certificate does not renew by itself. Before Expires At, install the new one with Setup SSL, the same way.
You can also manage certificates and Apache yourself from the Terminal tab or over SSH.