-
Notifications
You must be signed in to change notification settings - Fork 139
Configuring Basic Authentication to Internal Database
Endi S. Dewata edited this page Dec 9, 2020
·
1 revision
This page describes the process to configure a connection to the DS using basic authentication.
It assumes that a user is already created and has the proper rights.
Make sure the user has a password:
$ ldapmodify -x -D "cn=Directory Manager" -w Secret.123 << EOF dn: uid=pkidbuser,ou=people,dc=ca,dc=pki,dc=example,dc=com changetype: modify replace: userPassword userPassword: Secret.123 EOF
Store the user password in /var/lib/pki/pki-tomcat/conf/password.conf
:
internaldb=Secret.123
Configure the internal database connection in /var/lib/pki/pki-tomcat/<subsystem>/conf/CS.cfg
:
internaldb.ldapauth.authtype=BasicAuth internaldb.ldapauth.bindDN=uid=pkidbuser,ou=people,dc=ca,dc=pki,dc=example,dc=com internaldb.ldapauth.bindPWPrompt=internaldb
Restart PKI server:
$ systemctl restart [email protected]
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |