差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
rf:rf:ssl_certificate_problem_on_ie11 [2018/01/17 15:41] tony [調整IE11設定] |
rf:rf:ssl_certificate_problem_on_ie11 [2023/06/25 09:48] (目前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | {{tag>selenium RobotFramework IE}} | ||
====== SSL Certificate Error On IE11 ====== | ====== SSL Certificate Error On IE11 ====== | ||
- | |||
===== Problem ===== | ===== Problem ===== | ||
這陣子我們將web連線預設由原本的http轉到https,然而在透過IE做驗收測試時,出現了Certificate Error而導致測試無法繼續下去:\\ | 這陣子我們將web連線預設由原本的http轉到https,然而在透過IE做驗收測試時,出現了Certificate Error而導致測試無法繼續下去:\\ | ||
行 17: | 行 17: | ||
desired_capabilities=acceptSslCerts:true;trustAllSSLCerficates:true | desired_capabilities=acceptSslCerts:true;trustAllSSLCerficates:true | ||
</code> | </code> | ||
- | 透過grid node的console可以看到參數是有傳過去的,但無法解決問題。 | + | 透過grid node的console可以看到參數有傳過去,但無法解決問題。 |
==== 更新IEDriverServer ==== | ==== 更新IEDriverServer ==== | ||
我將版本更新到3.8.0.0,但Open Browser會有錯誤訊息;礙於時間關係,就不繼續追蹤下去。 | 我將版本更新到3.8.0.0,但Open Browser會有錯誤訊息;礙於時間關係,就不繼續追蹤下去。 | ||
行 33: | 行 33: | ||
重新啟動IE後應該就能夠正常執行測試。\\ | 重新啟動IE後應該就能夠正常執行測試。\\ | ||
\\ | \\ | ||
- | + | \\ | |
- | 這個方法只適用於專門測試的機器,如果憑證有改就要再匯入一次。 | + | 這個方法只適用於專門測試的機器,一般正常使用的機器這樣做會降低安全性;此外,如果憑證有改或新增就要再執行匯入,比較不方便。 |
===== Reference ===== | ===== Reference ===== | ||
* [[https://github.com/SeleniumHQ/selenium/issues/4704|Selenium Grid cannot launch IE11 and report IE driver cannot bypass insecure SSL certificate]] | * [[https://github.com/SeleniumHQ/selenium/issues/4704|Selenium Grid cannot launch IE11 and report IE driver cannot bypass insecure SSL certificate]] | ||
行 40: | 行 40: | ||
* [[https://stackoverflow.com/questions/24507078/how-to-deal-with-certificates-using-selenium|How to deal with certificates using Selenium?]] | * [[https://stackoverflow.com/questions/24507078/how-to-deal-with-certificates-using-selenium|How to deal with certificates using Selenium?]] | ||
* [[https://www.technipages.com/ie-bypass-problem-with-this-websites-security-certificate|IE: Bypass “There is a problem with this website’s security certificate” Message]] | * [[https://www.technipages.com/ie-bypass-problem-with-this-websites-security-certificate|IE: Bypass “There is a problem with this website’s security certificate” Message]] | ||
+ | |||
+ | ===== ===== | ||
+ | ---- | ||
+ | \\ | ||
+ | ~~DISQUS~~ |