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

SSL Error: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:3900) #72

Open
Domme0506 opened this issue Jun 16, 2023 · 1 comment
Open

SSL Error: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:3900) #72

Domme0506 opened this issue Jun 16, 2023 · 1 comment

Comments

@Domme0506
Copy link

Domme0506 commented Jun 16, 2023

Listening on localhost:8889
/root/server.py:44: DeprecationWarning: ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket()
server.socket = ssl.wrap_socket(server.socket, certfile='cert.pem', server_side=True)
Traceback (most recent call last):
File "/root/server.py", line 48, in
main()
File "/root/server.py", line 44, in main
server.socket = ssl.wrap_socket(server.socket, certfile='cert.pem', server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ssl.py", line 1443, in wrap_socket
context.load_cert_chain(certfile, keyfile)
ssl.SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:3900)

I get this error

@atxbyea
Copy link
Owner

atxbyea commented Jul 1, 2024

Do you still have this error @Domme0506

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

No branches or pull requests

2 participants