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]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM