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

Add a config variable for users to set expected CN when using CA verification #72

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ahoenerBE
Copy link
Contributor

When connecting direct to an IP with TLS (e.g. tls://192.168.10.101:8089) and using a CA bundle, there is no option to set the expected CN of the host, even though Python SSL / AsyncIO offer that feature.

This PR adds that config variable PYTAK_TLS_SERVER_EXPECTED_HOSTNAME, and passes it along to the connection.

@ahoenerBE
Copy link
Contributor Author

@ampledata Ready for review whenever you have time

@ampledata ampledata merged commit 258db0d into snstac:main Jun 3, 2024
7 checks passed
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.

2 participants