• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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