• 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

SSL Certificate and Plesk 9

G

GerhardO

Guest
I have created a private and CSR key directly with apache mod_ssl and got a certificate from Thawte for these keys (not made in plesk!).

now I can't get this keys running with Plesk because
1) Plesk has its own private key and CSR in place at /usr/local/psa/admin/conf/httpsd.pem
2) when I upload my custom generated keys in Plesk it misses the CSR component and the certificate is not accepted by Plesk ("invalid certificate format")

what I need to know is where can I override the default key (CSR & Private Key) pair in plesk with my keys that has been the foundation for the assigned certificate by Thawte?

I tried to create an new file vhost_ssl.conf in folder /var/www/vhosts/my_domain.com
vhost_ssl.conf only witht the new directive SSLCertificateFile /usr/local/psa/admin/conf/httpsd-new.pem (do I need the " before and in the end " of the location and filename?)

I have located the httpsd-new.pem file with my custom privat and CSR key in /usr/local/psa/admin/conf/ (where the original file httpsd.pem is located from plesk)

But w/out any effect (restarted plesk and apache)

where is the right place to override plesk apache conf files?

Thx
-G

P.S.
Is there a plesk 9 documentation for this with the directories that plesk uses to override all the apache directories like httpd.con (httpd.include), vhost.conf etc.????
 
Why not just login to plesk UI as admin, and then go to security -> ssl certs and use the UI to paste in your private key, cert, etc and then use that to secure the panel instead of messing with file edits?
 
Back
Top