cURL / Mailing Lists / curl-users / Single Mail

curl-users

Https login problem - cipher?

From: Adrián Mihálko <adriankoooo_at_gmail.com>
Date: Sat, 23 May 2015 00:42:57 +0200

Hi all,

I am trying to logon on a https secure site and execute a command. It works nicely on Yosemite 10.10.3:

-MacBook$ curl -V
curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport zlib/1.2.5
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz

Connection log: http://pastebin.com/6C2VRJ59

On Ubuntu:

    madrian_at_ubuntu:~$ curl -V
curl 7.42.1 (x86_64-unknown-linux-gnu) libcurl/7.42.1 OpenSSL/1.0.1f zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

Connection log Ubuntu: http://pastebin.com/A56tzgs0

It connects on Ubuntu too, but it is not logged in (I get the login page source). On Yosemite the login is success + the command what I send is executed. The only difference I see is that Yosemite use * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384while Ubuntu is something different. I am tried to set -ciphers TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 on Ubuntu, but I get error:

curl: (59) failed setting cipher list: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

Best regards,
Adrian
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-23