Symptoms
Dovecot fails to start with an error regarding the /etc/dovecot/sni.conf file.
CONFIG_TEXT: Fatal: Error in configuration file /etc/dovecot/sni.conf line 6: Multiple names no longer supported in local_name value
Description
When using the CloudFlare Origin Certificate, the dovecot sni.conf file is updated to include CloudFlare Origin Certificate; however, the use of a space in the name causes Dovecot to fail to generate a valid configuration file and prevents the service from starting.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-51692. Follow this article to receive an email notification when a solution is published in the product.
Workaround
- Login to your server via SSH as the root user.
- Using your favorite editor, modify /etc/dovecot/sni.conf
Add an underscore instead of spaces to the CloudFlare Origin Certificate name.
# diff /etc/dovecot/sni.conf /etc/dovecot/sni.conf.bak
1d0
<
3c2
< # This version of dovecot supports: wildcards, multi local_name, explicit maincert local_name.
---
> # This version of dovecot supports: wildcards, multi local_name, explict maincert local_name.
6c5
< local_name "CloudFlare_Origin_Certificate" {
---
> local_name "CloudFlare Origin Certificate" {
24c23
< # End Domain TLS
---
> # End Domain TLS
Comments
0 comments
Article is closed for comments.