Google Chrome忽略https证书错误
默认谷歌浏览器会拦截证书错误的请求地址, 在开发调试的时候很不方便, 忽略证书错误需要在谷歌浏览器快捷方式的目标后追加参数, 如:
C:\Users\user\AppData\Local\Google\Chrome\Application\chrome.exe --test-type --ignore-certificate-errors
POSTMAN默认也会拦截SSL的请求, 导致无法正确获得返回信息:
Could not get any response
There was an error connecting to https://api.hello.com/rest/users.
Why this might have happened:
The server couldn't send a response:
Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:
Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectly
Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:
Change request timeout in Settings > General
解决方法:
ON 改为 OFF
Settings->SSL certificate verification [OFF]