Skip to main content
Version: Axidian CertiFlow 7.3

Dogtag CA

Configure Dogtag CA integration with Axidian CertiFlow:

  1. Create a service account.
  2. Issue a CA Agent certificate and install it in the Personal Certificate Store on the Axidian CertiFlow server.
  3. Install the Dogtag CA root certificate in the Trusted Root Certification Authorities Store on the Axidian CertiFlow server.
  4. Create user certificate templates.
  5. Configure the connection to Dogtag CA in the Axidian CertiFlow Management Console.

Create a service account

Create a service account (a PKI User for CA Agent) to submit certificate requests to Dogtag CA on behalf of Axidian CertiFlow users. You can use either the CA command-line tool or the REST API:

  1. Create a user on behalf of the Dogtag CA administrator.

    pki -u <administrator name> -w <administrator password> ca-user-add <user name> --fullName "<user display name>"
  2. Add the user to the Certificate Manager Agents group so that the user can manage certificate requests.

    pki -u <administrator name> -w <administrator password> ca-group-member-add "Certificate Manager Agents" <user name>

Issue the CA Agent certificate

Issue the CA Agent certificate for the service account. You can use either the CA command-line tool or the REST API:

  1. Initialize the PKI client certificate store on the Dogtag CA server.

    pki client-init
  2. Generate a key pair and submit a certificate request. This creates a request with the pending status. Save the requestID value from the command output.

    pki client-cert-request uid=<user name>
  3. Approve the certificate request on behalf of the Dogtag CA administrator. Save the certID value from the command output.

    pki -u <administrator name> -w <administrator password> ca-cert-request-approve <requestID>
  4. Assign the issued certificate to the service account.

    pki -u <administrator name> -w <administrator password> ca-user-cert-add <user name> --serial <certID>
  5. Import the certificate to the local certificate store.

    pki client-cert-import <user name> --serial <certID>
  6. Export the certificate along with the private key in PKCS#12 format.

    pki -u <administrator name> -w <administrator password> pkcs12-export --pkcs12-file <P12 file path> --pkcs12-password <P12 file password> "<user name>"
  7. Copy the P12 file to the Axidian CertiFlow server.

Install certificates on the Axidian CertiFlow server

Install the following certificates on the Axidian CertiFlow server:

  • The CA Agent certificate in the local computer Personal Certificate Store
  • The Dogtag CA root certificate in the Trusted Root Certification Authorities Store

To obtain the Dogtag CA root certificate:

  1. On the Dogtag CA server, run the following command:

    pki ca-cert-export -o <root certificate file path>
  2. Copy the certificate file to the Axidian CertiFlow server.

Create user certificate templates

Prepare certificate templates for application policies that are used to issue certificates to Axidian CertiFlow end users.

Axidian CertiFlow supports Dogtag CA certificate templates (profiles) of a specific structure. Examples of supported templates: AdminCert, caUserCert, caOtherCert, caServerKeygen_UserCert. To prepare user certificate templates, edit the Dogtag CA templates.

Use the following instruction to configure the Smartсard Logon certificate template based on the caUserCert template.

  1. Disable the template that you want to edit.

    pki -u <administrator name> -w <administrator password> ca-profile-disable caUserCert
  2. Export the template parameters to a file for editing.

    pki -u <administrator name> -w <administrator password> ca-profile-show caUserCert --raw --output <file path>
  3. Edit the template parameters file as needed, for example, configure extensions and subject name attributes.

    For more information about configuring templates, see the Dogtag CA documentation

    info

    The Smartcard Logon certificate must contain the UPN (User Principal Name) attribute in the Subject Alternative Name (SAN) extension. The caUserCert template does not include the UPN attribute by default. Make sure to add UPN to the SAN settings.

  4. Upload the edited template parameters file to Dogtag CA.

    pki -u <administrator name> -w <administrator password> ca-profile-mod <file path>
  5. Enable the template.

    pki -u <administrator name> -w <administrator password> ca-profile-enable caUserCert

Make sure the visible and enable parameters are set to true in the Dogtag CA template settings. Otherwise, the templates do not appear in the Axidian CertiFlow Management Console when you configure the CA in the PKI settings section.