微信小程序局域网访问出现 net:err_cert_authority_invalid?

小程序 文章 2022-04-14 09:40 0 全屏看文

微信小程序局域网访问出现 net:err_cert_authority_invalid?Net:err_cert_authority_invalid appears in the LAN access of WeChat applet?

微信小程序局域网访问出现 net:err_cert_authority_invalid?

场景:局域网内知道一台打印机的ip(比如172.16.1.60),使用wx.request访问该打印机上的escl协议(扫描协议)接口

出现问题:报net:err_cert_authority_invalid错

我大概了解是证书问题,但我这边是局域网的,我无法给打印机加什么证书之类的,我希望在局域网下不要校验证书或有参数可以控制不要校验证书(局域网下生效)

Scenario: know the IP of a printer in the LAN (for example, 172.16.1.60), and use wx Request has a problem accessing the ESCL protocol (scanning protocol) interface on the printer: report net: err_ cert_ authority_ Invalid error I probably know it's a certificate problem, but my side is local area network. I can't add any certificates to the printer. I hope not to verify the certificate under the local area network or there are parameters that can control not to verify the certificate (effective under the local area network)

回答:

是闵by:

这个问题应该是你本地开了代理 导致域名证书错误的问题。

史静玲:啊对象啊你不喜欢我的声音不好听吗
陈树鸿:

-EOF-