What is wrong with certificate made by certbot --webroot?
I’m trying to create mail server, but I have problem with SSL certificate. I copied fullchain1.pem and privkey1.pem to my postfix and dovecot configurations. I restarted them. When I create account in Thunderbird and I want to connect to server I see:
The ip address is checked. But if it is a valid Letsencrypt certificate, the certificate has a domain name -> so the ip address has a certificate with the wrong name. But that's not a problem.
Since they’re currently running on the same server, you could configure your mail software to connect to “babyprinter.com” instead.
You can also get a certificate for “imap.babyprinter.com”, with a command like “sudo certbot certonly --webroot -w /var/www -d babyprinter.com -d imap.babyprinter.com -d www.babyprinter.com”, or whatever options you used to create the certificate that exists now.