Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to resolve TLS v1.0 error on macOS don't work #16493

Closed
turkeyphant opened this issue May 18, 2018 · 1 comment
Closed

Instructions to resolve TLS v1.0 error on macOS don't work #16493

turkeyphant opened this issue May 18, 2018 · 1 comment

Comments

@turkeyphant
Copy link

@turkeyphant turkeyphant commented May 18, 2018

Instructions under #14353 don't work.

+### ERROR: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)> on macOS
+
+The python that comes with macOS uses an obsolete version of OpenSSL.
+
+Install python using [Homebrew]:
+bash +$ brew install python +
+
+Include the python PATH in your profile (~/.bash_rc or ~/.bash_profile):
+bash +$ echo "export PATH=/usr/local/opt/python/libexec/bin:$PATH" >> ~/.bash_profile +
+
+Reload shell, using reset.
+
+Verify openssl version:
+bash +$ python -c 'import ssl; print(ssl.OPENSSL_VERSION)' +OpenSSL 1.0.2l 25 May 2017 +
+

still have youtube-dl using old python with 2016 version of openssl and still get
ERROR: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>

@dstftw dstftw closed this May 19, 2018
@turkeyphant
Copy link
Author

@turkeyphant turkeyphant commented May 21, 2018

Could you give a reason for closing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.