nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
681 stars 202 forks source link

Add starttls support #29

Closed Kegeruneku closed 6 years ago

Kegeruneku commented 6 years ago

This PR adds STARTTLS support to nginx-ldap-auth.

STARTTLS is considered the proper way to establish a TLS-protected channel to a LDAP server, as ldaps://-style URLs (using port 636) have never been standardized, see http://www.openldap.org/faq/data/cache/185.html for details.

vl-homutov commented 6 years ago

I've commited a patch with minor modifications, thanks.