-
Notifications
You must be signed in to change notification settings - Fork 78
certificate verify failed (self signed certificate in certificate chain) (OpenSSL::SSL::SSLError) #69
Comments
@daveomcd Sorry to hear you're having trouble. You may want to check if there's a network proxy that is responding to your request from a different domain (e.g., hotel wifi often does this to force you to sign in via a webform), because I'm able to run this myself and it's fine, and the cert chain looks fine. If you are still seeing this error, please try visiting this URL via a web browser, and let us know what results you see: |
@flavorjones thanks Mike for responding. This is actually happening inside my organization, however they don't really have anyone using something like OpenSSL except myself. They have seen that it does work when visiting the site through the browser as you have suggested, but still doesn't when doing |
@daveomcd I'd be interested if you're able to run this command from your system:
Do you get a similar ssl cert verification problem? |
@flavorjones I do not. I get the XML results; however, I do get a similar command using wget.
I removed the company certificate string as a precaution. I can get around it by passing the |
OK, just to absolutely pin down the issue, please try these two commands in
and
If the first script emits the certificate verify error, and the second doesn't, then that confirms my understanding of the underlying issue (which is that a proxy is intercepting SSL traffic with locally-signed certs). |
Results
Works. Returning the XML. So to someone that doesn't understand your hypothesis what is happening exactly? Just trying to figure out what to convey back to my IT team. |
I won't comment on what's going on or why, but will point you at a link to a similar question that might help you frame this for IT: I think we can work around this, just need a bit of time to look into it. |
@flavorjones Much appreciated, I'll look forward to the work-around thanks. |
I'm going to close this issue, as the gem is being deprecated in favor of webdrivers, see #83. |
I'm trying to run
chromedriver-update
but I get the following error. Anything I could try to correct this? I was able to install chromedriver manually because they allowed an option for passing the following argument--no-certificate-check
Also not sure if it is relevant, but I'm working within Windows' WSL Ubuntu.
The text was updated successfully, but these errors were encountered: