Skip to content

LDAP connections that use TLS can fail with "mismatching" SNI/hostname verification settings #2805

@michaelklishin

Description

@michaelklishin

Modern Erlang versions automatically enable SNI/hostname verification. If target servers use wildcard x.509 certificates,
then Erlang's TLS library requires the hostname check to be customized, which is not currently possible using a static term config (advanced.config).

So we need to provide a configuration setting that would support a few cases:

  • Wildcard certificates
  • Exact matching
  • Disabling hostname verification entirely (not to be confused with disabling peer verification, which actually affects security meaningfully and can already be done)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions