Symptoms
How can I change the control panel's default certificate in Plesk Automation?
Resolution
For Plesk Automation 11.1, changes to the control panel's default certificate should be done via the Plesk backend:
Log into the Control Panel.
Open the Plesk backend. To do this, add the following string to the address in browser:
https://<PPA_IP_ADDRESS>:8443/plesk/server/certificate@/
Click the add SSL certificate button to create a new certificate.
Upload certificate files or upload a certificate as text and save the result.
Select the certificate you have created and click "Secure the Panel".
Log into the Management Node and use the following commands to apply the certificate for the hspc plugin:
~# cp -p /etc/hspc/hspc-plugin-rpc/certs/server.pem /etc/hspc/hspc-plugin-rpc/certs/server.pem.orig ~# cp -p /usr/local/psa/admin/conf/httpsd.pem /etc/hspc/hspc-plugin-rpc/certs/server.pem ~# /etc/init.d/sw-cp-server restart
For Plesk Automation 11.5, you can physically replace the required certificate:
Rename your
".pem"
certificate file tohttpsd.pem
.Replace the default
httpsd.pem
file in/usr/local/psa/admin/conf
with your file.Restart the internal Plesk Automation web server by running the following command:
# /etc/init.d/sw-cp-server restart
NOTE: You can find additional details in our documentation.