Ares
New Pleskian
My Postfix / Dovecot certificates are somehow not configured correctly. I think the CA-cert is missing, but I'm not 100% sure how to fix this. The certificates on the website are working fine btw.
Android Error Message (Mail with SSL/TLS): java.security.cert.certpathvalidatorexception
Thunderbird Error Message (Mail with SSL/TLS):
Wrong Site: Certificate belongs to a different site, which could indicate an identity theft.
Unknown Identity: Certificate is not trusted, because it hasn't been verified by recognized authority.
Thunderbird -> View Certificate
user@server:/usr/share$ openssl s_client -showcerts -connect mail.domain.tld:995
CONNECTED(00000003)
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=27:certificate not trusted
verify return:1
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=21:unable to verify the first certificate
verify return:1
I put my key / cert in the following files:
/etc/postfix/postfix_default.pem
/etc/dovecot/private/ssl-cert-and-key.pem
The certificate is a Comodo PositiveSSL if this matters.
Android Error Message (Mail with SSL/TLS): java.security.cert.certpathvalidatorexception
Thunderbird Error Message (Mail with SSL/TLS):
Wrong Site: Certificate belongs to a different site, which could indicate an identity theft.
Unknown Identity: Certificate is not trusted, because it hasn't been verified by recognized authority.
Thunderbird -> View Certificate
user@server:/usr/share$ openssl s_client -showcerts -connect mail.domain.tld:995
CONNECTED(00000003)
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=27:certificate not trusted
verify return:1
depth=0 OU = Domain Control Validated, OU = PositiveSSL, CN = www.domain.tld
verify error:num=21:unable to verify the first certificate
verify return:1
I put my key / cert in the following files:
/etc/postfix/postfix_default.pem
/etc/dovecot/private/ssl-cert-and-key.pem
The certificate is a Comodo PositiveSSL if this matters.