We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi guys,
I get this error when I run the server with both if these commands:
python manage.py runsslserver --certificate localhost.pem --key localhost-key.pem python manage.py runsslserver
The certificate is available.
AttributeError: module 'ssl' has no attribute 'wrap_socket'
I found a issue for this here that it should ne fixe, but it's still not working.
I am using Python 3.12.1.
Any solution for that?
Thx! Flo
The text was updated successfully, but these errors were encountered:
for now you can do the following
python3.12/site-packages/sslserver/management/commands/runsslserver.py
replace
self.socket = ssl.wrap_socket(self.socket, certfile=certificate, ...)
with
context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(certfile=certificate, keyfile=key) self.socket = context.wrap_socket(self.socket, server_side=True)
Sorry, something went wrong.
No branches or pull requests
Hi guys,
I get this error when I run the server with both if these commands:
The certificate is available.
AttributeError: module 'ssl' has no attribute 'wrap_socket'
I found a issue for this here that it should ne fixe, but it's still not working.
I am using Python 3.12.1.
Any solution for that?
Thx!
Flo
The text was updated successfully, but these errors were encountered: