• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Updating SSL Certificate causes roundcube.conf to break everything

yabado

Regular Pleskian
After updating/renewing my SSL certificate on my server, now the round cube configs has this error...

Code:
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
    [0] => --reconfigure-server
    [1] => -no-restart
)

Details: [2017-02-27 22:34:32] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2017-02-27 22:35:20] ERR [panel] Apache config (14882528500.95288400) generation failed: Template_Exception: Syntax error on line 57 of /etc/httpd/conf/plesk.conf.d/roundcube.conf:
SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-yFmWTG' does not exist or is empty

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Syntax error on line 57 of /etc/httpd/conf/plesk.conf.d/roundcube.conf:
SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-yFmWTG' does not exist or is empty

The only way to fix things is to disable round cube and then reconfigure-all

Where is round cube getting that cert name and why is this on in the first place. My SSL certs would not work with all the many webmail.*.* i have on my server.
 
Where did you set a certificate specifically for Roundcube?

I didn’t.

Instead I edited this file and commented out all the ssl stuff that is not even used anyway.
/usr/local/psa/admin/conf/templates/default/roundcube.php

I then ran
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all

That got things working again.
 
Back
Top