The command curl --tlsv1.2 https://tlstest.paypal.com/ works in curl 7.53.1 but does not work in curl 7.54.0 or later when built with SecureTransport. Tested on macOS Sierra 10.12.6 (16G29).
- The macOS Sierra 10.12.6 update updates the
curl version from 7.51.0 to 7.54.0, so this behavior regresses when updating from macOS 10.12.5 to 10.12.6
- Omitting the
--tlsv1.2 flag and calling curl https://tlstest.paypal.com/ works in all cases
- Flag works when built with OpenSSL rather than SecureTransport
7.53.1-DEV (built locally; works)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:
curl 7.53.1-DEV (x86_64-apple-darwin16.7.0) libcurl/7.53.1-DEV SecureTransport zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: Debug TrackMemory IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets
PayPal_Connection_OK%
7.54.0 (included in macOS Sierra 10.12.6; does not work)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:
curl 7.54.0 (x86_64-apple-darwin16.0) libcurl/7.54.0 SecureTransport zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz UnixSockets
curl: (35) Server aborted the SSL handshake
7.54.1-DEV (built locally; does not work)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:
curl 7.54.1-DEV (x86_64-apple-darwin16.7.0) libcurl/7.54.1-DEV SecureTransport zlib/1.2.8
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: Debug TrackMemory IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets
curl: (35) unsupported max version passed via CURLOPT_SSLVERSION
7.54.1 (installed using brew; works)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:
curl 7.54.1 (x86_64-apple-darwin16.7.0) libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.8
Release-Date: 2017-06-14
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
PayPal_Connection_OK%
The command
curl --tlsv1.2 https://tlstest.paypal.com/works in curl 7.53.1 but does not work in curl 7.54.0 or later when built with SecureTransport. Tested on macOS Sierra 10.12.6 (16G29).curlversion from 7.51.0 to 7.54.0, so this behavior regresses when updating from macOS 10.12.5 to 10.12.6--tlsv1.2flag and callingcurl https://tlstest.paypal.com/works in all cases7.53.1-DEV (built locally; works)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:7.54.0 (included in macOS Sierra 10.12.6; does not work)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:7.54.1-DEV (built locally; does not work)
curl -V && curl --tlsv1.2 https://tlstest.paypal.com/:7.54.1 (installed using
brew; works)curl -V && curl --tlsv1.2 https://tlstest.paypal.com/: