• 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

httpd && SSL Certificate

J

judouk

Guest
I have a registered SSL certificate which I have chosen to use for the plesk login page.

In order to get this working, I had to edit the /etc/httpd/conf/httpd.include file and manually put the secure certificate information in there.

However, whenever a new site is added or removed, the default plesk certificate is reapplied.


Does anyone know where I can put the SSL certificate information so that this information is not overwritten?


Thanks
Mark
 
In the control panel, Server - Certificates, add your new certificate, then set it as the default. And just to be sure, use the control panel to restart Apache afterwards.

This way Plesk will know to write the changes to httpd.include itself.
 
Thanks very much for that.

I'll go and implement that now. However, I dont think the automatic restart will work as my certificate is protected with a passphrase.

Is it possible to include the passphrase; if it is, it has to be encoded somehow as I dont want it to be stored clear text anywhere.

Thanks again
 
Hi Mian

Yes, I know that but that leaves my SSL cert somewhat open. The server is maintained by various people and I dont want the SSL certificate wide open.

Mark
 
Back
Top