request:fail ssl hand shake error 微信小程序 调试预览失败
2018-02-04 12:20
1156 查看
问题:本地调试request能正常访问https,真机调试预览的时候无法获取数据,提示:request:fail ssl hand shake error
解决方法:
证书是申请的腾讯云免费的, ssl证书配置需要使用pem,不使用crt, 之前一直不行,后来配置修改成 pem就好了
# ssl_certificate /etc/ssl/xxx.crt;
ssl_certificate /etc/ssl/xxx.pem;
pem 可以通过crt+key在线合成:https://www.myssl.cn/tools/merge-pem-cert.html
解决方法:
证书是申请的腾讯云免费的, ssl证书配置需要使用pem,不使用crt, 之前一直不行,后来配置修改成 pem就好了
# ssl_certificate /etc/ssl/xxx.crt;
ssl_certificate /etc/ssl/xxx.pem;
pem 可以通过crt+key在线合成:https://www.myssl.cn/tools/merge-pem-cert.html
相关文章推荐
- request:fail ssl hand shake error 微信小程序Android真机调试问题
- 小程序安卓机访问数据失败request:fail ssl hand shake error~已解决
- request:fail ssl hand shake error 微信小程序(已解决!!) TLS1.2版本配置
- request:fail ssl hand shake error 微信小程序(已解决!!) TLS1.2版本配置
- 为微信小程序搭建https服务,证书申请及配置。Apache服务器。重点描述request:fail ssl hand shake error 错误
- 小程序 request:fail ssl hand shake error【可能已解决】
- linux上svn连接visual svn server时ssl鉴权失败,问题解决 SSL handshake failed: SSL error: Key usage violation in ce
- 微信小程序之wx.request:fail错误,真机预览请求无效问题解决,安卓,ios网络预览异常(转)
- 微信小程序之wx.request:fail错误,真机预览请求无效问题解决,安卓,ios网络预览异常
- 微信小程序,错误{"errMsg":"request:fail 小程序要求的 TLS 版本必须大于等于 1.2"}
- nagios:CHECK_NRPE: Error - Could not complete SSL handshake.
- com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: Handshake failed
- CHECK_NRPE: Error - Could not complete SSL handshake.
- 彻底解决CHECK_NRPE: Error - Could not complete SSL handshake.
- CHECK_NRPE: Error - Could not complete SSL handshake.
- 【微信小程序常识】wx.showToast消息显示框手机预览失败原因
- 微信小程序手机预览 ssl错误
- paypal error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
- nagios CHECK_NRPE: Error - Could not complete SSL handshake
- NRPE出现:CHECK_NRPE: Error - Could not complete SSL handshake.错误!