Hi, I have a number of domains on my certificate, including 3x5.co. I checked my mail using mail.3x5.co I added my cert to postfix and dovecot, and everything worked fine.
Then, when I renewed, the cert stopped working for my email, on my laptop and phone. It says the certificate is for the wrong domain. Even though 3x5.co is in the cert, it’s looking for mail.3x5.co.
I don’t remember this ever being in the cert. Still, I expanded the cert to include mail.3x5.co, and just associated it with 3x5.co-le-ssl.conf. This isn’t totally correct, because there is no vhost for this subdomain, which is obviously a mail server.
Anyway, this didn’t solve the problem. When I go to my email on my phone, it still says the cert is wrong and doesn’t see mail.3x5.co in the list – even though when I run certbot certificates on the server, this domain does come up for this cert.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
3x5.co
I ran this command:
sudo certbot --expand -d 3x5.co,mail.3x5.co
It produced this output:
We were unable to set up enhancement redirect for your server,
however, we successfully installed your certificate.
My web server is (include version):
Apache2
The operating system my web server runs on is (include version):
Ubuntu 14.04
My hosting provider, if applicable, is:
Linode
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No