mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-27 05:43:22 +00:00
* get_certificate - Add support of SNI For python versions supporting `create_default_context` support SNI by using low-level SSLContext.wrap_socket().getpeercert(). Add also more information in the error message fixes #69 * Make sure default CA certificates are not loaded when ca_cert is specified. * Refactor to combine common code. * Update changelogs/fragments/get_certificate-add_support_for_SNI.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>