• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

[SOLUTION] How to update the Plesk Control Panel SLL certificate

S

slampaq

Guest
Since it took me quite some time to solve this problem, I hereby would like to share my findings on how to update the SSL certificate of the Plesk for Windows control panel when it’s expired (IE 7 shows these annoying error messages scaring people away). It’s probably not the most effective way to do this, but it did the job for me. Since I found quite some questions about this problem but no answers, I hope this will be of any help to anybody.

1. First I opened the Certificates page on the Server Administration page in Plesk.
2. I then clicked the Add new certificate button. The Create a new SSL certificate page opened.
3. I filled in:
a. Certificate name: in my case the server adres e.g. plesk.mydomain.com
b. Bits: 512
c. Country, state, location, organization, organization department: just fill in your details.
d. Domain name: the URL of the plesk control panel e.g. plesk.mydomain.com (without http or portnumber).
e. E-mail
4. Push the request button, a new certificate is added in the certificates screen of your server.
5. Open this new certificate by clicking on it and in the bottom of the page you will find the CSR. You need this to buy your certificate.
6. Proceed to buy your SSL certificate (e.g. from GeoTrust). Eventually you will get your certificate by mail.
7. Open again the recently added certificate in the server – certificate page and insert your certificate that your received per e-mail in the certificate field (copy – past) and click send text.
8. You will find that the CSR, Private Key and Certificate are now shown at the bottom of the certificate page. Keep this page open for now.
9. Login to your server by remote desktop (or any other RDC) and browse to your Plesk installation files.
10. Go to the Swsoft\Plesk\admin\conf directory, here you will find the httpsd.pem file.
11. Since we will be editing this file you probably want to backup it.
12. Open httpsd.pem in notepad
13. You will find two parts in this file, the part that stats with -----BEGIN RSA PRIVATE KEY----- and ends with -----END RSA PRIVATE KEY----- and the second part starting with -----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----.
14. As you might suspect, we need to copy this information from the certificate page that is still opened in step 8. Copy both the private key and the certificate in the httpsd.pem file and save it.
15. Restart the Control Panel and the Plesk Run-Time. Surf to your Plesk control panel and the problem is solved … Finally!

Good luck.

Cheers,

Koen Klomp
Slampaq Solutions B.V.
www.slampaq.com
 
Back
Top