This implements basic support for setting the TLS certificate request option (LDAP_OPT_X_TLS_REQUIRE_CERT) as well as a dedicated certificate
file for checking server certificate (LDAP_OPT_X_TLS_CACERTFILE).
Details
Details
TLS connection to LDAP server with self-signed certificate
- scenario a) none of the new options set -> connection fails due to missing certificate to check against
- scenario b) use LdapServer::TLSReqCertNever which makes the connection succeed
- scenario c) use LdapServer::TLSReqCertHard and set tlsCACertFile which makes the connection succeed
Diff Detail
Diff Detail
- Repository
- R178 PIM: KLDAP
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.