New submission from shreya <[email protected]>:
Example:
self.socket = ssl.wrap_socket(socket.socket(self.address_family,
self.socket_type),
keyfile=keys, certfile=certs,
server_side=True, ciphers="DEFAULT@SECLEVEL=1")
Gives the following exception -
File "ssl.py", line 1402, in wrap_socket
context.load_cert_chain(certfile, keyfile)
ssl.SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:4023)
----------
assignee: christian.heimes
components: SSL
messages: 403019
nosy: christian.heimes, shreya1312
priority: normal
pull_requests: 27046
severity: normal
status: open
title: wrap_socket fails when load_cert_chain is called without setting the
ciphers
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com