如何在插件中使用自定义证书验证的https连接? #288
Unanswered
Blue-Beaker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在编写一个自用插件, 通过ip访问自建的https服务来获得tts音频. 由于纯自用, 服务器端是使用的自定义根证书签发的证书, 并已将该证书安装到用户证书中. 在插件内尝试https连接时报错:
Caused by: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
... 59 more
推测是证书不被信任所致, 有没有办法在插件内使用自定义证书验证https连接?
Beta Was this translation helpful? Give feedback.
All reactions