Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version

wget -O /Users/itaybd/Finzor_2_26/dev_code/Engine/DATA/EOD/S_temp.zip https://www.quandl.com/api/v3/datatables/SHARADAR/SEP?qopts.export=true&api_key=MYKEY yield OpenSSL: error:1409442E Where

import requests
url = 'https://www.howsmyssl.com/a/check'
r = requests.get(url)
print(r.json()['tls_version'])

Yields: TLS 1.2

How to fix this ????

like image 283
Itay Avatar asked Nov 05 '18 09:11

Itay


1 Answers

If your server doesn't support TLS 1.0 you can try running wget with the option --secure-protocol=TLSv1_2

If your version of wget is older than 1.14 and your server uses SNI, upgrade wget to at least 1.14.

Please let us know which of these fixes it, and if neither fixes it then let us know more information about the problem (such as the versions of the software you are using including wget and openssl, and the full error from wget).

like image 100
Rob Bricheno Avatar answered Sep 24 '22 23:09

Rob Bricheno