当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - JS Fetch API disable SSL certificate

问题描述:

I am using Fetch API to get the content of the URL. For my internal development I am trying to connect to a dev server and I get an error.

The certificate for this server is invalid. You might be connecting to a server that is pretending to be “xxx.com” which could

put your confidential information at risk.

How can I disable SSL / Certificate check for internal purpose? Alternately I have a xxx.crt file, how do I install it or pass it to get a success response.

分享给朋友:
您可能感兴趣的文章:
随机阅读: