gpt4 book ai didi

java - PKIX 路径构建失败 : wso2 oauth

转载 作者:行者123 更新时间:2023-12-02 03:37:04 24 4
gpt4 key购买 nike

我正在运行 wso2 中的 Playground2 示例 post ,当我提交获取访问 token 的表单时出现以下错误

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

最佳答案

您是否尝试将服务器的证书添加到 java ca.基本上,您需要将 WSO2 服务器的证书添加到 java cacerts 中。下面的文章解释了如何将 super 租户的证书添加到java cacerts

http://isharaaruna.blogspot.com/2013/11/adding-certificate-to-java-ca.html?view=timeslide

关于java - PKIX 路径构建失败 : wso2 oauth,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37324889/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com