Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to ignore tls certificate error #621

Open
welaunchcn opened this issue Oct 12, 2024 · 0 comments
Open

Option to ignore tls certificate error #621

welaunchcn opened this issue Oct 12, 2024 · 0 comments
Labels
proposal Enhancement idea or proposal

Comments

@welaunchcn
Copy link

Proposed change

Be able to ignore cert error just like 0.11.5 version.

Use case

I'm working on upgrading an old codebase using 0.11.5. I need to connect to a third party server with tls and self signed certificates. The current code work correctly with the following setting but it stopped working for the latest version.
ssl_ctx = ssl.create_default_context()
ssl_ctx.check_hostname = False
ssl_ctx.verify_mode = ssl.CERT_NONE
I cannot get the self signed certificates from the third party. Can you please add back the option to ignore the cert error? Or did i miss any thing?

Contribution

No response

@welaunchcn welaunchcn added the proposal Enhancement idea or proposal label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

1 participant