touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #51847
[Bug 1417024] [NEW] libcurl ssl connection problem
Public bug reported:
When I try to connect to an HTTP server with TLS, with the following
options in the C code:
curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM");
curl_easy_setopt(curl, CURLOPT_SSLCERT,client_pem);
curl_easy_setopt(curl, CURLOPT_SSLKEYTYPE, "PEM");
curl_easy_setopt(curl, CURLOPT_SSLKEY, ssl_key);
curl_easy_setopt(curl, CURLOPT_CAINFO, ca_file);
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER,1L);
I get connection problems. Linking instead with a newer version of
libcurl (obtained from Github) doesn't give this error. Also, doing the
request by hand (with curl, the binary) with the same keys/certs/etc
does not give this error.
System info:
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Package info:
libcurl4-openssl-dev:
Installed: (none)
Candidate: 7.35.0-1ubuntu2.3
Version table:
7.35.0-1ubuntu2.3 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
7.35.0-1ubuntu2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
** Affects: curl (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1417024
Title:
libcurl ssl connection problem
Status in curl package in Ubuntu:
New
Bug description:
When I try to connect to an HTTP server with TLS, with the following
options in the C code:
curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM");
curl_easy_setopt(curl, CURLOPT_SSLCERT,client_pem);
curl_easy_setopt(curl, CURLOPT_SSLKEYTYPE, "PEM");
curl_easy_setopt(curl, CURLOPT_SSLKEY, ssl_key);
curl_easy_setopt(curl, CURLOPT_CAINFO, ca_file);
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER,1L);
I get connection problems. Linking instead with a newer version of
libcurl (obtained from Github) doesn't give this error. Also, doing
the request by hand (with curl, the binary) with the same
keys/certs/etc does not give this error.
System info:
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Package info:
libcurl4-openssl-dev:
Installed: (none)
Candidate: 7.35.0-1ubuntu2.3
Version table:
7.35.0-1ubuntu2.3 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
7.35.0-1ubuntu2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1417024/+subscriptions
Follow ups
References