差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

rf:rf:ssl_certificate_problem_on_ie11 [2018/01/17 15:16]
tony [SSL Certificate Error On IE11]
rf:rf:ssl_certificate_problem_on_ie11 [2023/06/25 09:48]
行 1: 行 1:
-====== SSL Certificate Error On IE11 ====== 
  
-===== Problem ===== 
-這陣子我們將web連線預設由原本的http轉到https,然而在透過IE做驗收測試時,出現了Certificate Error而導致測試無法繼續下去:​\\ 
-{{:​rf:​rf:​ie_ssl_warn.png|}}\\ 
-本篇是分享我實驗過與可能的解決方法。 
-===== How to resolve? ===== 
-我們使用[[rf:​rf:​seleniumgrid|selenium grid]]的方式做測試,selenium的node搭載環境如下:​ 
-  * OS: Windows2012 R2 x64 
-  * IE: IE 11.0.9600.18618 
-  * selenium-server-standalone:​ 3.8.1 
-  * IEDriverServer:​ 3.4.0.0 (32.bit) 
-==== 使用desired_capabilities ==== 
-我在Open Browser的keyword之後加入以下參數:​ 
-<​code>​ 
-desired_capabilities=acceptSslCerts:​true;​trustAllSSLCerficates:​true 
-</​code>​ 
-==== 更新IEDriverServer ==== 
-我將版本更新到3.8.0.0,但Open Browser會有錯誤訊息;礙於時間關係,就不繼續追蹤下去。 
- 
- 
-===== 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/​wiki/​DesiredCapabilities|DesiredCapabilities]] 
-  * [[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]]