• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue SMTP SSL Certificate Expired

defcon8

New Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.62 Update #1 Web Host Edition
We currently have a big problem. Whenever I check the SSL validity of my SMTP server, it says expired:

>openssl s_client -connect srv002.xxxxxx:465

CONNECTED(00000003)
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = R3
verify return:1
depth=0 CN = srv002.xxxxxx.com
verify error:num=10:certificate has expired
notAfter=May 9 12:42:08 2024 GMT
verify return:1
depth=0 CN = srv002.xxxxxx.com
notAfter=May 9 12:42:08 2024 GMT
verify return:1
---
Certificate chain
0 s:CN = srv002.xxxxxx.com
i:C = US, O = Let's Encrypt, CN = R3
1 s:C = US, O = Let's Encrypt, CN = R3
i:C = US, O = Internet Security Research Group, CN = ISRG Root X1

If I go to the Plesk > Tools & Settings > SSL / TLS Certificates there is a Lets Encrypt certificate assigned. This certificate is running fine for the HTTP/HTTPS access, but somehow is not applied to the mailserver. I even re-issued the certificate, doesn't make any difference.

Whenever I go to /etc/dovecot/private, there are 2 files:
dovecot.pem: which seem to contain the expired certificate (Common Name: srv002.xxxxxx.com, Valid To: May 09,2024, Issuer: Let's Encrypt)
ssl-cert-and-key.pem; which seem to contain a placeholder certificate by my Plesk supplier (Common Name: placeholder.transip.us, Valid to: Feb 06,2034, Issuer: Unknown)

Seems like Plesk does not update the files?
 
Make sure "Certificate for securing mail" has the proper certificate selected if you're trying to apply it at the overall server level of things. If you have the subdomain added as a domain (under the domains section) then you'll need to apply the certificate under there instead (Domains > domain in question > Mail tab > Mail Settings > SSL/TLS certificate for webmail and/or SSL/TLS certificate for mail)
 
Make sure "Certificate for securing mail" has the proper certificate selected if you're trying to apply it at the overall server level of things. If you have the subdomain added as a domain (under the domains section) then you'll need to apply the certificate under there instead (Domains > domain in question > Mail tab > Mail Settings > SSL/TLS certificate for webmail and/or SSL/TLS certificate for mail)
Thanks for your help. I think the wrong certificate was selected, at least the "Certificate for securing Plesk" was set to a different one then "Certificate for securing mail". I have changed "Certificate for securing mail" to match the other one. Issue seems resolved, will need to do some more testing however to be sure.
 
Back
Top