You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a development server created with werkzeug.service.generate_adhoc_ssl_pair(cn="localhost") (I'm using pytest-httpserver)
Connect with Python built-in methods (making sure to provide the adhoc certificate as a CA file)
Actual results:
A hardcoded SAN of * is added to the certificate, leading to ssl.SSLCertVerificationError: ("sole wildcard without additional labels are not support: '*'.",)
Expected results:
The cn value should also be the single DNS name in the SAN
Steps to reproduce:
werkzeug.service.generate_adhoc_ssl_pair(cn="localhost")(I'm using pytest-httpserver)Actual results:
*is added to the certificate, leading tossl.SSLCertVerificationError: ("sole wildcard without additional labels are not support: '*'.",)Expected results:
Environment: