nerdexam
CompTIA

LX0-104 · Question #429

When configuring LDAP to use certificates, which option should be used with the TLSVerifyClient directive to ask the client for a valid certificate in order to proceed normally?

The correct answer is D. demand. To ensure LDAP clients present a valid certificate for normal operation, the TLSVerifyClient directive should be set to demand.

Security

Question

When configuring LDAP to use certificates, which option should be used with the TLSVerifyClient directive to ask the client for a valid certificate in order to proceed normally?

Options

  • Anever
  • Ballow
  • Ctry
  • Ddemand

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    86% (25)

Why each option

To ensure LDAP clients present a valid certificate for normal operation, the TLSVerifyClient directive should be set to demand.

Anever

never explicitly tells the server not to request a client certificate, effectively disabling client certificate authentication.

Ballow

allow permits the client to present a certificate, but the connection proceeds normally even if no certificate is provided or if verification fails.

Ctry

try attempts to verify a client certificate if one is presented, but allows the connection to proceed even if no certificate is provided or if verification fails.

DdemandCorrect

In LDAP server configuration (e.g., slapd.conf), the TLSVerifyClient demand directive requires clients to present a valid certificate that can be successfully verified against the server's trusted Certificate Authorities. If the client does not present a certificate or if verification fails, the connection is immediately terminated, ensuring mutual authentication.

Concept tested: LDAP TLS client certificate verification

Source: https://www.openldap.org/doc/admin24/security.html

Topics

#LDAP#TLS client verification#certificates

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice