Notifications
Clear all

Letsencrypt and smtpd certificate

2 Posts
2 Users
0 Reactions
167 Views
(@psychik)
New Member
Joined: 3 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 3 months ago by psychik

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

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