当前位置:   article > 正文

The SSL connection could not be established, see inner exception.

the ssl connection could not be established, see inner exception. the remote

Centos7
.netcore api使用了SSL证书的情况下访问微信登录接口:
https://api.weixin.qq.com/sns/jscode2session
提示 远程证书无效
The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.

解决方法:

/etc/pki/tls/cert.pem 复制到 /usr/local/openssl/

cp /etc/pki/tls/cert.pem /usr/local/openssl/
  • 1

成功解决

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/448814
推荐阅读
相关标签
  

闽ICP备14008679号