• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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