小程序
小游戏
企业微信
微信支付
扫描小程序码分享
- 需求的场景描述(希望解决的问题)
目前看在内网没法调试文件上传接口,内网服务器的域名使用的IP地址,IP地址没法申请SSL证书
1 uploadFile:fail Error: self signed certificate
- 希望提供的能力
在 微信开发者工具勾选 “不校验合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书”后,不要校验 “self signed certificate”这个错误
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
请问具体怎么操作呢?谢谢
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
你的url怎么写的?
wx.uploadFile({
url: "https://192.168.0.25:443/api/FileSvr/UploadFile.action",
filePath: "xxxxxxxxxx",
name: "file",
success: function success(res) {
}
else {
},
fail: function fail(res){
console.log(res);
关闭内网证书,使用80端口 http://192.168.0.25
删的真快
太感谢了,可行
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
请问具体怎么操作呢?谢谢
你的url怎么写的?
wx.uploadFile({
url: "https://192.168.0.25:443/api/FileSvr/UploadFile.action",
filePath: "xxxxxxxxxx",
name: "file",
success: function success(res) {
}
else {
}
}
},
fail: function fail(res){
console.log(res);
}
关闭内网证书,使用80端口 http://192.168.0.25
删的真快
太感谢了,可行