I am trying to connect to my email “git@pierrefhapp.dev”. I can connect to it without any issues on my thunderbird desktop client. But on k-9mail i get an error with bad certificate.
Android 10
LineageOS 17.1 with microG
K-9 Mail version 5.733 from 26/03/2021 from f-droid
Can anyone verify that I fucked up with the certificates? I thought it is working just fine. If i am testing my sent message against some spam filter testing I also get 10/10 raiting.
The problem is that your mail server doesn’t include the R3 intermediate certificate in its certificate chain. Android (and really all other OSes) only know about the Let’s encrypt root certificate. It’s the job of servers to provide all certificates in the chain (except for the root certificate) in the TLS handshake. Check your server configuration.
Had the same problem.
Could solve it with the description given above.
in detail:
I use Dovemail as IMAP-Server and acme.sh as script for letsencrypt on debian:
all I have to do is to configure the ca in /etc/dovecot/conf.d/10-ssl.conf:
Parameter ssl_ca points to the file where the fullchain.cer file for the given letsencrypt-certificate is stored.