2

I'm getting an error when performing the following in 12.0.1:

webdriver-manager update --ignore_ssl

It just returns

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: self signed certificate in certificate chain
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
    at emitNone (events.js:86:13)
    at TLSSocket.emit (events.js:185:7)
    at TLSSocket._finishInit (_tls_wrap.js:584:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)

I tried with an older version and it works fine

webdriver-manager: using local installed version 10.2.5
[13:51:46] I/downloader - ignoring SSL certificate
[13:51:46] I/downloader - ignoring SSL certificate
[13:51:46] I/downloader - ignoring SSL certificate
kalypzo
  • 102
  • 2
  • 6
  • Hrrrrrmmm... create an issue on github. Also in your issue, explain your environment and why you need to ignore ssl. – cnishina Feb 09 '17 at 14:47
  • Thanks, I initially planned on doing that but the Contribution guidelines stated it will be closed by default with a post stating to please raise on stackoverflow. – kalypzo Feb 09 '17 at 15:27
  • Also, main reason I need to ignore SSL is because I'm behind a corporate firewall that overrides certificates with their own self-signed certificate. This presents a lot of issues with many of the node packages today. – kalypzo Feb 09 '17 at 15:38
  • The contributing is if there is an issue with the framework and that support questions should go on StackOverflow. Since I sort of look over that repository, I'll investigate this. – cnishina Feb 09 '17 at 16:17

2 Answers2

0

The issue here is the recent rework to the binary class was not passing the optional parameters including opt_proxy and opt_ignoreSSl when calling webdriver-manager update. When angular/webdriver PR #208 is merged and released, this should be fixed.

Update: this has been merged and should have a release soon.

cnishina
  • 5,016
  • 1
  • 23
  • 40
  • is this the reason that `webdriver-manager update --proxy http://proxy:8080` is no longer working? The proxy option looks like it is being ignored. – RJC Mar 14 '17 at 15:22
  • 1
    Try again. with 12.0.4. I grabbed the versionList before I set the proxy. This means it would try to make the first request without the proxy. Face palm! Just released a few minutes ago. Thanks! – cnishina Mar 14 '17 at 16:32
-1

I'm using webdriver-manager 12.10 and --ignore_ssl is working fine on my end!

Sidd Thota
  • 2,040
  • 1
  • 20
  • 24