Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?

后端 未结 22 2533
名媛妹妹
名媛妹妹 2020-11-21 05:59

Edit :- Tried to format the question and accepted answer in more presentable way at mine Blog

Here is the original issue.

22条回答
  •  灰色年华
    2020-11-21 06:12

    For me didn't work the recognized solution from this post: https://stackoverflow.com/a/9619478/4507034.

    Instead, I managed to solve the problem by importing the certification to my machine trusted certifications.

    Steps:

    1. Go to the URL (eg. https://localhost:8443/yourpath) where the certification is not working.
    2. Export the certification as described in the mentioned post.
    3. On your windows machine open: Manage computer certificates
    4. Go to Trusted Root Certification Authorities -> Certificates
    5. Import here your your_certification_name.cer file.

提交回复
热议问题