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

Features/tls auth #112

Merged
merged 8 commits into from
Aug 17, 2015
Merged

Conversation

saradickinson
Copy link
Contributor

Add strict TLS authentication using hostname.

  1. User must specify the hostname of the upstream (using tls_auth_name) as now TLS will use it to try to authenticate the server. If this fails then the TLS connection fails (a future update will add fallback to opportunistic TLS if authentication fails).

  2. Note that getdns is coded to expect the trusted CA certificates to be in the default directory for the OS, as specified by the SSL_CTX_set_default_verify_paths() method. We should consider adding an option for the user to specify this path. This is a bit awkward on Mac OSX (see docs)...

wtoorop added a commit that referenced this pull request Aug 17, 2015
@wtoorop wtoorop merged commit d436165 into getdnsapi:develop Aug 17, 2015
wtoorop added a commit that referenced this pull request Aug 27, 2015
wtoorop added a commit that referenced this pull request Sep 4, 2015
@saradickinson saradickinson deleted the features/tls_auth branch September 4, 2015 12:09
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