- Plesk for Linux
How to set up Plesk to use one certificate for all domains?
How to change default certificate in Plesk?
All the domains that have SSL support and do not have custom certificates assigned, will use the default one.
Create a certificate and make it default server-wide.
Navigate to Tools & Settings > SSL/TLS Certificates;
Upload the certificate:
Via files. Choose
*-ca.crtpart is optional. Click Upload certificate:
As text. Fill in the fields Private key and Certificate. The field CA Certificate is optional. Click Upload certificate:
- Select the newly uploaded certificate and click Make Default button:
Connect to the server via SSH
Create a certificate. Specify the certificate name and all certificate files in the command. Parameter
-defaultwill mark it as default server-wide:
# plesk bin certificate -c <certificate_name> -admin -default -key-file <file.key> -cert-file <file.crt> -cacert-file <file-ca.crt>
If the certificate is already uploaded, run the following command:
# plesk bin certificate -u <certificate_name> -default -admin
Note: Make sure that the new certificate is assigned to domains IP address at Plesk > Tools & Settings > IP addresses > 203.0.113.2.