Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing a flag that turns off certificate validation for RemoteTable #16

Open
stevesuh opened this issue Jun 23, 2014 · 0 comments
Open

Comments

@stevesuh
Copy link

It looks like the underlying curl call does not take a flag to disable certificate validation. Any plans to perhaps expose this at some point since there are a lot of sites with invalid certificates out there?

Thanks,
Steve

parser = RemoteTable.new(url, :format => :xml, :row_xpath => '//string/Customers/Franchise', :headers => false)

unix_utils] curl --location --show-error --silent --compressed --header Expect: https://user:[email protected]/SystinoWebService/SystinoWebService.asmx/GetCustomerListByFranNumAndZor?accessKey=xxxxxxyyyyyyyyzzzzz&zorNum=1&startDate=2014-05-30&franNum=1017 --output /var/folders/sl/n10qvbzx7r5085jhlhdnhg980000gn/T/unix_utils_ca5154e4_GetCustomerListByFranNumAndZor_accessKey_xxxxxxxxxxyyyyyyyyyzzzzzzzzzz_zorNum_1_startDate_2014_05_30_franNum_1017 STDERR:
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant