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?
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?