简体   繁体   中英

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 ????

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM