-
Notifications
You must be signed in to change notification settings - Fork 139
PKI Server Subsystem User CLI
Endi S. Dewata edited this page Oct 29, 2021
·
10 revisions
The pki-server <subsystem>-user
commands provide a way to manage the users in the database even when the PKI server is offline. These commands can only be executed by the system administrator.
To list the users in the subsystem:
$ pki-server <subsystem>-user-find User ID: CA-localhost.localdomain-8443 Full Name: CA-localhost.localdomain-8443 Type: agentType State: 1 User ID: caadmin Full Name: caadmin Email: [email protected] Type: adminType State: 1 User ID: pkidbuser Full Name: pkidbuser Type: agentType State: 1
To display the subsystem user info:
$ pki-server <subsystem>-user-show pkidbuser User ID: pkidbuser Full Name: pkidbuser Type: agentType State: 1
To add a subsystem user, specify the user ID, the full name, and the type:
$ pki-server <subsystem>-user-add testuser --full-name "Test User" --type adminType
To modify a subsystem user, specify the user ID and the attributes to change:
$ pki-server <subsystem>-user-mod testuser --add-see-also uid=testuser
To remove a subsystem user, specify the user ID:
$ pki-server <subsystem>-user-del testuser
Availability: Since PKI 11.1
To add a subsystem user certificate, specify the user ID and the certificate file:
$ pki-server <subsystem>-user-cert-add testuser --cert testuser.crt
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |