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

Expose connection TLSSettings for more control over TLS connection #5

Open
taladar opened this issue Dec 25, 2016 · 2 comments
Open

Comments

@taladar
Copy link

taladar commented Dec 25, 2016

I am thinking of writing some Haskell code to interact with an LDAP server. The server is using SASL external authentication for its existing (automated) clients. Because of this it is configured to require client-side certificates of all of its TLS connections, even those that ultimately use password auth to authenticate the bind DN.

For this and similar purposes (e.g. a custom CA certificate) it would be useful to have access to the connection's TLSSettings. Would it be possible to add a constructor to the Host data type to set custom TLSSettings?

@supki
Copy link
Owner

supki commented Dec 27, 2016

Sure, I don't see any harm in the addition.

@taladar
Copy link
Author

taladar commented Dec 27, 2016

Thanks

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

No branches or pull requests

2 participants