TencentCloud / tencentcloud-sdk-java

Tencent Cloud API 3.0 SDK for Java
Apache License 2.0
523 stars 285 forks source link

sdk调用遇到证书问题,[TencentCloudSDKException]code: message: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 requestId: #173

Closed 1nfin1ty closed 1 year ago

1nfin1ty commented 1 year ago

我该如何获取到正确的证书?目前尝试在https://iai.tencentcloudapi.com获取证书,导入$JAVA_HOME\jre\lib\security\cacerts,但还是会报错