We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792383a commit f1b59edCopy full SHA for f1b59ed
Doc/whatsnew/3.13.rst
@@ -127,6 +127,16 @@ Other Language Changes
127
* The :func:`ssl.create_default_context` API now includes
128
:data:`ssl.VERIFY_X509_PARTIAL_CHAIN` and :data:`ssl.VERIFY_X509_STRICT`
129
in its default flags.
130
+
131
+ .. note::
132
133
+ :data:`ssl.VERIFY_X509_STRICT` may reject pre-:rfc:`5280` or malformed
134
+ certificates that the underlying OpenSSL implementation otherwise would
135
+ accept. While disabling this is not recommended, you can do so using::
136
137
+ ctx = ssl.create_default_context()
138
+ ctx.verify_flags &= ~ssl.VERIFY_X509_STRICT
139
140
(Contributed by William Woodruff in :gh:`112389`.)
141
142
New Modules
0 commit comments