axios怎么关闭ssl检测,或者说怎么允许所有证书,因为证书是自签的,校检证书会报这个问题:
{"code":2300060,"message":"SSL peer certificate or SSH remote key was not OK"}
axios怎么关闭ssl检测,或者说怎么允许所有证书,因为证书是自签的,校检证书会报这个问题:
{"code":2300060,"message":"SSL peer certificate or SSH remote key was not OK"}
1 回答1.1k 阅读✓ 已解决
1 回答1.4k 阅读
1 回答1.2k 阅读
1 回答1.1k 阅读
1 回答1.1k 阅读
1 回答989 阅读
1 回答967 阅读
axios不支持关闭ssl检测,可转用rcp接口,使用skip跳过证书校验:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/remote-communication-rcp-V5\#section1597118916425