Verify the TLS server's certificate

Do not proceed if a certificate is invalid
This commit is contained in:
Greg Karékinian 2020-02-14 13:56:52 +01:00
parent dc1226073c
commit 55eb95ae73

View File

@ -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 -%>