Error in certificate: peer’s certificate issuer has been marked as not trusted by the
Translate as Certificate error: peer’s certificate publisher is marked as untrusted.
This is because encrypted communication is used, but the client cannot confirm whether the certificate is true.
However, the email can be sent normally, and the QQ email has also received the test email
The solutions of multi-party query are as follows:
1. Modify the configuration/etc/mail.rc
hold set ssl-verify=ignore Change to set ssl-verify=strict ## Ignore the certificate warning and follow the certificate requirements strictly instead
2. Obtain mail server certificate
echo – n ” ” | openssl s_ client -connect smtp.qq.com:465 | sed -ne ‘/- BEGIN CERTIFICATE-/,/-END CERTIFIICATE-/p’ & gt; /etc/pki/nssdb/qq.crt
3. Add the certificate to the trusted table
certutil – A – n ‘ qq’ – t ” P,P,P” – d /etc/pki/nssdb – i /etc/pki/nssdb/qq.crt
Specific parameter explanation:
##-A: indicates adding
##-n :nickname Nicknames, such as QQ, 163
##–t: Represents a trusted tag. The values/T/C/P are acceptable
##-d: The certificate is in the directory
##-i: Specific location of certificate file
Finally, the test sent the e-mail without prompting error. It was sent successfully normally.
Similar Posts:
- Server SSL certificate verification failed: certificate has expired, issuer is not trusted
- Curl https Error: curl: (60) Peer certificate cannot be authenticated with known CA certificates
- [AWS] Solve CodeBuild Issue: Certificate verification failed: The certificate is NOT trusted
- Upgrade pip Error: ”’SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED]…”
- idea checkout SVN:svn: E230001: Server SSL certificate verification failed: certificate issued
- file_get_Contents and fopen return false when requesting HTTPS address: Error content: SSL routes: ssl3_get_server_certificate:certificate verify failed
- [Solved] Wget Error: The certificate of ‘XXX’ is not trusted
- FAILED: esp-idf/mbedtls/x509_ crt_ Solutions to bundle error reporting and information sources
- javax.mail.MessagingException: Could not convert socket to TLS
- Interface automation (8): an error is reported during interface testing sslerror: Certificate verify failed