sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

tip

Set the 'mail.smtp.ssl.trust' system property to an smtp host, like 'smtp.gmail.com'.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • HTTPS Authentification Error
    via Stack Overflow by splinter123
    ,
  • RESTful web service and SSL certificate
    via Information Security by user47103
    ,
    • sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)

    Users with the same issue

    rp
    rp2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    jf-ast
    jf-ast1 times, last one,
    Unknown visitor1 times, last one,
    30 more bugmates