Search

22.4. Reassigning Users to Default Groups

download PDF
As mentioned in Section 22.3, “Importing the Data into the New CA”, members of the default groups are not restored during the data import.
Add members to the default groups manually, using the Certificate System Console or the pki utility. For example:
  1. Set up the client:
    # pki -c password client-init
    ------------------
    Client initialized
    ------------------
    # pk12util -i ~/.dogtag/instance_name/ca_admin_cert.p12 -d ~/.dogtag/nssdb/
    Enter Password or Pin for "NSS Certificate DB":
    Enter password for PKCS12 file:
    pk12util: PKCS12 IMPORT SUCCESSFUL
  2. Add the user account to the Certificate Manager Agents, Administrators, and Security Domain Administrators groups:
    # pki -n "PKI Administrator for example.com" -c password \
         user-membership-add user_name "Certificate Manager Agents"
    
    # pki -n "PKI Administrator for example.com" -c password \
         user-membership-add user "Administrators"
    
    # pki -n "PKI Administrator for example.com" -c password \
         user-membership-add user "Security Domain Administrators"
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.