5.4. Disabling LDAP Authentication for Token Operations
By default, each user who requests a token operation is authenticated against an LDAP directory. If the user has an entry, then the operation is allowed; if the user does not have an entry, then the operation is rejected.
For testing purposes or for certain types of users, then it can be simpler or preferable to disable LDAP authentication. This is not configured in the Enterprise Security Client configuration, but in the Token Processing System configuration, and must be done by a TPS administrator.
- Stop the TPS subsystem.
# systemctl stop pki-tps
- Open the TPS configuration file.
# vim /var/lib/pki-tps/conf/CS.cfg
- Set the authentication parameters to
false
.op.operation_type.token_type.loginRequest.enable=false op.operation_type.token_type.auth.enable=false
The operation_type is the token operation for which LDAP authentication is being disabled, such asenroll
,format
, orpinreset
. Disabling authentication for one operation type does not disable it for any other operation types.The token_type is the token profile. There are default profiles for regular users, security officers, and the users enrolled by security officers. There can also be custom token types for other kinds of users or certificates.For example:op.
enroll.userKey.
loginRequest.enable=false op.enroll.userKey
.pinReset.enable=false - Restart the TPS subsystem.
# systemctl restart pki-tomcatd@pki-tomcat.service
Editing the TPS configuration is covered in the Red Hat Certificate System 9 Administration Guide.