I ran this:
I use certbot to renew certificate for mail server. I installed certbot, and for a first sight the renewing of certificate works, but not all applications accepts certificate after renewal and show old certificate (e.g. Mozilla Thunderbird, Apple Mail). If we try to check certificate with SSL Server Test (Powered by Qualys SSL Labs), it will say OK.
It produced this output:
The problem is that cerbot includes in file cert.pem only first intermediate certificate, but not second. in file (in fullchain there are a chain of 3 certificates). So I have to manually add second certificate in file cert.pem to make things work.
Could you please answer, how to automatically include 2 certificates in cert.pem with cerbot? Thank you!
My web server is (include version):
The operating system my web server runs on is (include version): SMP Debian 4.19.146-1 (2020-09-17) x86_64
I can login to a root shell on my machine (yes or no, or I don't know): yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 2.6.0
Edit: Turns out it's a bundled solution that does have postfix in it, but manually changing just the postfix conf may damage things, this post of mine may be disregarded?
If it's postfix: it requires having a privkey and a chain in a single file, I'm having this bit in my deploy hook to get such a file:
The preferred solution for Postfix is having both private key and full chain in one file, only because then one can update the file atomically, avoiding having processes during the time that a certificate is being renewed which load one key but a different certificate. But you can configure postfix with them in different files just fine.
but he's using a bundle for smtp/imap and (possibly webmail) editing postfix setting directly would be like edition apache config in a cpanel server: while it can it won't go well
Thank you! Unfortunately some guys use Apple Mail with similar problem
About Use a bought SSL certificate.
I believe "cp fullchain.pem /etc/ssl/certs/iRedMail.crt
cp privkey.pem /etc/ssl/private/iRedMail.key" are not used.
files in /etc/ssl/private/*** are used: