您现在的位置是: 首页 > 移动开发 在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
2020-05-20 【移动开发】 4036人已围观 8491次浏览
简介在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
在使用Flutter进行网络请求时,使用Dio访问https地址出现unable to get local issuer certificate错误
通过搜索Dio的文档发现,Dio在进行https请求时,需要服务器上的ssl证书是pem或pkcs12.
这里需要自行检查服务器上证书
参考文档地址
https://s0pub0dev.icopy.site/packages/dio#https-certificate-verification
很赞哦! (0)
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- SpringBoot 启动提示 Requested bean is currently in creation: Is there an unresolvable circular reference?
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- Mac 设置允许任何来源
- idea去掉Smart commands execution提示
- LNMP 手动更新 SSL 证书
- Vue 路由跳转错误 NavigationDuplicated: Avoided redundant navigation to current location
- Laravel项目出现could not be opened: failed to open stream: Permission denied
- SqlServer 优化技巧
- SqlServer 刷新所有视图
- SqlServer字符串处理