How to Install an SSL Certificate in VestaCP

The VestaCP panel is no longer offered for new servers. This guide is kept for those who already have it installed. For a new VPS choose FASTPANEL, ISPmanager or CloudPanel - see the FastPanel, ISPmanager server (VPS) and CloudPanel sections.

You can install an SSL certificate for a website in the VestaCP control panel.
To do this, log in to the control panel and go to the WEB section:

Select the domain and click Edit:

Enable the SSL Support option:

Fill in the certificate details:

SSL Certificate (CRT): paste the contents of the certificate file:

SSL Key (KEY): paste the private key:

SSL Certificate Authority / Intermediate (CA Bundle): paste the certificate chain:

If the chain is split across several files, paste them in reverse order:

First _2.crt
Then _1.crt

When done, click Save:

Questions and answers
The CRT certificate, the private key (KEY), and the certificate chain.
It is provided together with the SSL certificate.
Most often because of an incorrect certificate chain or key.