默認谷歌瀏覽器會攔截證書錯誤的請求地址, 在開發調試的時候很不方便, 忽略證書錯誤需要在谷歌瀏覽器快捷方式的目標后追加參數, 如:
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]
