javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path buildin...

报错信息:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

解决方案:

spring.mail.properties.mail.smtp.auth=false

spring.mail.properties.mail.smtp.starttls.enable=false

spring.mail.properties.mail.smtp.starttls.required=false

你可能感兴趣的:(javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path buildin...)