Verify the TLS server's certificate
Do not proceed if a certificate is invalid
This commit is contained in:
parent
dc1226073c
commit
55eb95ae73
@ -25,6 +25,7 @@ host_config:
|
|||||||
ldap_rootdn: "cn=xmpp,ou=<%= host[:name] %>,<%= @ldap_base %>"
|
ldap_rootdn: "cn=xmpp,ou=<%= host[:name] %>,<%= @ldap_base %>"
|
||||||
ldap_password: "<%= host[:ldap_password] %>"
|
ldap_password: "<%= host[:ldap_password] %>"
|
||||||
ldap_encrypt: <%= @ldap_encryption_type %>
|
ldap_encrypt: <%= @ldap_encryption_type %>
|
||||||
|
ldap_tls_verify: hard # when TLS is enabled, don't proceed if a cert is invalid
|
||||||
ldap_base: "ou=<%= host[:name] %>,<%= @ldap_base %>"
|
ldap_base: "ou=<%= host[:name] %>,<%= @ldap_base %>"
|
||||||
ldap_filter: "(nsRole=cn=xmpp_role,ou=<%= host[:name] %>,<%= @ldap_base %>)"
|
ldap_filter: "(nsRole=cn=xmpp_role,ou=<%= host[:name] %>,<%= @ldap_base %>)"
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user