Notifications
Clear all

Letsencrypt and smtpd certificate

3 Posts
3 Users
0 Reactions
351 Views
(@psychik)
New Member
Joined: 9 months ago
Posts: 1
Topic starter  

When you issue a LE certificate from the web panel, the smtpd.crt and slapd.crt certificates remain self-signed.

This causes some SMTP clients to reject the connection with a certificate error.

I think it would be a good idea to use the first domain's certificate as an option. Or add the ability to select the certificate that will be used for SMTP in the web panel.

This topic was modified 9 months ago by psychik

   
Quote
(@sharif)
Honorable Member Admin
Joined: 4 years ago
Posts: 976
 

psychik

You're right. The Admin Panel only handles certificates for the web services (webmail, admin interface). SMTP and LDAP have their own certificate files, and they don't get updated when you deploy LE from the panel.

Though, you can try manually applying the LE certificate to SMTP as:

  • Find the LE certificate files
  • Copy them over the existing SMTP certs
  • Fix permissions
  • Restart the services

Back up your certs before touching anything. And since LE expires every 90 days, you'll either need to repeat this manually or script it. 

 


   
ReplyQuote
(@alexlimbeck)
New Member
Joined: 1 month ago
Posts: 1
 

Any news ?

I tried today with the latest version of Carbonio CE and had the same issue.

I solved it by downloading the cert and the key from the web UI and manually creating the chain. After that, I deployed everything using the Zimbra method (zmcertmgr deploycrt comm ...). But I think that now I must renew the certificates manually, because Carbonio thinks they are commercial certificates, not Let’s Encrypt ones.


   
ReplyQuote