-
Notifications
You must be signed in to change notification settings - Fork 418
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
TLSv1 handshake failure when called do_handshake() error : OpenSSL.SSL.Error: [('SSL routines', '', 'no protocols available')] #1243
Comments
Here adding some information to the bug
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details :
Python 3.9.16
openssl version : OpenSSL 1.1.1v 1 Aug 2023 (Library: OpenSSL 1.1.1k FIPS 25 Mar 2021)
pyOpenSSL==23.2.0
Info:
I am trying to connect to my server using tlsv1 protocol, but facing error as
Traceback (most recent call last):
File "/root/test/test_tlsv1.py", line 29, in
ssl_connection(host, port)
File "/root/test/test_tlsv1.py", line 14, in ssl_connection
ssl_sock.do_handshake()
File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 2182, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 1823, in _raise_ssl_error
_openssl_assert(
File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 71, in openssl_assert
exception_from_error_queue(error)
File "/usr/local/lib/python3.9/site-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', '', 'no protocols available')]
Python script I am using
Note: When I am using TLSv1_2 method it is working fine. My usecase is need to test with TLSv1 , TLSv1_1 and TLSv1_2 protocols.
Request to let me know how can I fix this issue. Let me know if need any detials
The text was updated successfully, but these errors were encountered: