Skip to content

Allow use of TLS without custom/self-signed certificate chain #349

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bj00rn
Copy link

@bj00rn bj00rn commented Jun 17, 2025

Allow secure connections over TLS without providing self signed certificate chain.

fixes #347

@bj00rn bj00rn force-pushed the chore/allow-tls-without-custom-ca branch from 75b7d87 to 2b0ec29 Compare June 17, 2025 09:07
@bj00rn bj00rn force-pushed the chore/allow-tls-without-custom-ca branch from 2b0ec29 to d8c8931 Compare June 17, 2025 09:07
nanomad
nanomad previously approved these changes Jun 17, 2025
ssl_context.check_hostname = False
if cert_uri:
ssl_context.load_verify_locations(cafile=cert_uri)
ssl_context.check_hostname = False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is a good idea. I'd rather see a new settings to override it. @bj00rn I'll merge as is but I'd like a new PR where we can configure this flag, defaulting it to True

We'll update the changelog accordingly noting the breaking change

@nanomad nanomad changed the base branch from main to develop June 17, 2025 20:44
@nanomad nanomad dismissed their stale review June 17, 2025 20:44

The base branch was changed.

@nanomad
Copy link
Contributor

nanomad commented Jun 17, 2025

@bj00rn Please solve the merge conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support TLS/SSL without providing certificate chain
2 participants