[issue31892] ssl.get_server_certificate should allow specifying certificate / key type

Christian Heimes report at bugs.python.org
Thu Nov 2 08:21:30 EDT 2017


Christian Heimes <lists at cheimes.de> added the comment:

Matt suggested to use https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set1_sigalgs.html The SSL_CTX_set1_sigalgs_list() function takes a string of colon-separated algorithms, e.g. "ECDSA+SHA256:RSA+SHA256" for ECDSA and PKCS#1 v1.5 RSA with both SHA256 as hashing algorithm.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31892>
_______________________________________


More information about the Python-bugs-list mailing list