Zorba for Windows cannot make HTTPS requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Rodolfo Ochoa |
Bug Description
We just discovered that under Windows, making requests to:
https:/
or
https:/
using the http-client, one gets back a response with status -1.
The command line Curl tool on Windows also reject such calls because it cannot verify the certificates, reporting:
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:
More details here: http://
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.
Related branches
- Cezar Andrei: Approve
- Chris Hillery: Approve
-
Diff: 3357 lines (+3342/-0)2 files modifiedmodules/com/zorba-xquery/www/modules/CMakeLists.txt (+11/-0)
modules/com/zorba-xquery/www/modules/cacert.pem (+3331/-0)
Changed in zorba: | |
assignee: | Chris Hillery (ceejatec) → Rodolfo Ochoa (rodolfo-ochoa) |
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
milestone: | none → 2.7 |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Confirmed → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
I committed a fix for the problem: download the certificates from http:// curl.haxx. se/docs/ caextract. html and place it in the same directory where zorba.exe is.