• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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