cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1319 Bug: "Unsupported SSL protocol version" Error

From: Jay Satiro <raysatiro_at_users.sf.net>
Date: Fri, 06 Feb 2015 07:11:35 +0000

Andre, using commit 600ccb2 2015-02-05 with OpenSSL 1.0.2 works in both Ubuntu 14.04 x64 and Windows 7 x64. I think they made some change in OpenSSL since 1.0.1f. I will run wireshark at some later time to find out the differences. Can you try 600ccb2 from the repo with OpenSSL 1.0.2? I made static builds of both:

cd openssl-1.0.2
./config
make
sudo make install
/usr/local/ssl/bin/openssl version -a

# OpenSSL 1.0.2 22 Jan 2015

cd ../curl
./buildconf
LIBS=-ldl ./configure --with-ssl=/usr/local/ssl --disable-shared
make
sudo make install

curl --version

# curl 7.41.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.41.0-DEV OpenSSL/1.0.2 zlib/1.2.8

curl https://qasecommerce.cielo.com.br/servicos/ecommwsec.do -v --tlsv1

---
** [bugs:#1319] Bug: "Unsupported SSL protocol version" Error**
**Status:** closed-fixed
**Created:** Thu Jan 02, 2014 07:44 PM UTC by Mohammad Hossekh Sekhavat
**Last Updated:** Tue Feb 03, 2015 11:06 AM UTC
**Owner:** Daniel Stenberg
Since I have upgraded from version 7.33 to 7.34, I am getting "Unsupported SSL protocol version" error with SSLv3. 
In order to reproduce the problem, run the command:
curl -v -3 -g 'https://aur.archlinux.org/'
Following output error will be showin in my machine:
* Hostname was NOT found in DNS cache
* Adding handle: conn: 0x237e040
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x237e040) send_pipe: 1, recv_pipe: 0
*   Trying 78.46.78.247...
*   Trying 2a01:4f8:120:34c2::2...
* Immediate connect fail for 2a01:4f8:120:34c2::2: Network is unreachable
* Connected to aur.archlinux.org (78.46.78.247) port 443 (#0)
* Unsupported SSL protocol version
* Closing connection 0
curl: (35) Unsupported SSL protocol version
My System Info:
$curl -V
curl 7.34.0 (x86_64-unknown-linux-gnu) libcurl/7.34.0 OpenSSL/1.0.1e zlib/1.2.8 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
$uname -a 
Linux mohammad-tp 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2015-02-06

These mail archives are generated by hypermail.