Bug report - Updating SSL cert does not update httpd.include for domain

PSi_101

Regular Pleskian
When an SSL cert expires, I update the Certificate and CA Certificate by pasting the new info into the two boxes and click Send Text.
Plesk creates 2 certificates on the filesystem in /opt/psa/var/certificates/ but does not modify the domains httpd.include file (eg /var/www/vhosts/domain.com/conf/13493824390.55684100_httpd.include).
So when I try to restart apache, the configtest fails because the SSLCACertificateFile line in httpd.include points to the old certificate filename.

There are two workarounds
1) Make a small insignificant change to your hosting settings (like turning on Python), saving, then reverting the change and saving again.
2) Run /opt/psa/admin/sbin/httpdmng --reconfigure-domain domain.com.au

Both methods make Plesk re-write the httpd.include file with the correct SSLCACertificateFile location.

p.s this is NOT related to the KB article http://kb.parallels.com/en/114438. At least I don't think so....but please correct me if i'm wrong.

Plesk version 10.4.4 Update #50 on Debian 6.0.7
 
Last edited:
Back
Top