nerdexam
Linux_Foundation

LFCS · 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. When configuring LDAP to use certificates, the TLSVerifyClient directive set to demand requires clients to present a valid certificate for authentication.

Submitted by daniela_cl· Apr 18, 2026Service Configuration

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

(15 responses)
  • A
    7% (1)
  • B
    7% (1)
  • D
    87% (13)

Why each option

When configuring LDAP to use certificates, the `TLSVerifyClient` directive set to `demand` requires clients to present a valid certificate for authentication.

Anever

The `never` option instructs the server not to request or verify any client certificates, effectively disabling client-side certificate authentication.

Ballow

The `allow` option is not a standard or commonly recognized setting for the `TLSVerifyClient` directive in OpenLDAP configurations.

Ctry

The `try` (or `optional`) option allows the server to request a client certificate but will proceed with the connection even if the client doesn't provide one or if it's invalid, offering weaker authentication than `demand`.

DdemandCorrect

For LDAP server configurations using TLS, setting the `TLSVerifyClient` directive to `demand` enforces mandatory client certificate authentication. This means the server will explicitly request a client certificate during the TLS handshake, and if the client does not provide a valid, trusted certificate, the connection will be terminated.

Concept tested: LDAP TLS client certificate verification

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

Topics

#LDAP#TLS#Certificates#Client Authentication

Community Discussion

No community discussion yet for this question.

Full LFCS Practice