-
Notifications
You must be signed in to change notification settings - Fork 139
Generating CMC Shared Token
Endi S. Dewata edited this page Jul 19, 2022
·
11 revisions
This page describes the process to generate a CMC shared token for issuing a user certificate.
It assumes that:
-
Issuance protection certificate has been created.
$ CMCSharedToken \ -d /root/.dogtag/nssdb \ -p "" \ -n issuance_protection \ -s <token> \ -o testuser.b64 $ sed -i -e :a -e 'N;s/\n//;ba' testuser.b64 $ SHARED_TOKEN=$(cat testuser.b64)
$ ldapmodify \ -H ldap://ds.example.com:3389 \ -x \ -D "cn=Directory Manager" \ -w Secret.123 \ << EOF dn: uid=testuser,ou=people,dc=example,dc=com changetype: modify add: objectClass objectClass: extensibleobject - add: shrTok shrTok: $SHARED_TOKEN - EOF
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |