epgg / eg

EpiGenome Gateway - WashU EpiGenome Browser
http://epigenomegateway.wustl.edu/legacy/
Other
21 stars 10 forks source link

submitting json hub in https://username:password@url crashes the browser #7

Closed lidaof closed 9 years ago

lidaof commented 9 years ago

One of our users reported this issue.

Since we used libcurl for reading contents from URL, it's related to libcurl

This appears in the apache error log:

curl_easy_perform failed: Peer certificate cannot be authenticated with given CA certificates

curl doc says:

curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
lidaof commented 9 years ago

add

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);

to json.c fixed the issue.

Waiting for confirmation from our user.

lidaof commented 9 years ago

Our user confirmed this issue was fixed by 21ea69b.