• 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

Changing admin SSL cert

R

rjst01

Guest
How do I change the SSL certificate that Plesk uses on the administration port 8443?
 
The way I've always done it is to edit the /usr/local/psa/admin/conf/httpsd.pem file and put in your certificate information. Note you have to have a valid certificate in order to do this. For instance, your file would look like this once you are done:

-----BEGIN RSA PRIVATE KEY-----
your private key goes here
-----END RSA PRIVATE KEY-----

-----BEGIN CERTIFICATE-----
your certificate goes here
-----END CERTIFICATE-----

-----BEGIN CERTIFICATE-----
if you have or need it, the ca certificate goes here
-----END CERTIFICATE-----

Then run 'service psa stop', then 'service psa start'

Then access by the domain name you have the certificate for instead of by IP. For instance, if the cert you installed was for www.domain.com, use:

https://www.domain.com:8443
 
Back
Top