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

后端 未结 22 3051
名媛妹妹
名媛妹妹 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:16

    For me, this error appeared too while trying to connect to a process behind an NGINX reverse proxy which was handling the SSL.

    It turned out the problem was a certificate without the entire certificate chain concatenated. When I added intermediate certs, the problem was solved.

    Hope this helps.

提交回复
热议问题