How can we help?

Issue Credential from MTG PKI

Anthony - Versasec Support
Anthony - Versasec Support
  • Updated


From version 6.9 support has been added to allow the issuance of certificate credentials from MTG Certificate Authority (CA). This article will describe how you can configure and use a MTG CA to issue a certificate to a credential managed by vSEC:CMS.

In this article we will show you:

  • How to setup a connection to MTG CA;
  • Configure a template to issue a certificate to a managed credential;
  • Issue a credential from Admin console.
It will be required that at minimum you have already successfully completed the configuration steps described in the article Setup Evaluation Version of vSEC:CMS. The instructions in this document are applicable regardless of whether you are running the evaluation version or a production version.
It will be required to have an MTG CA available and it is expected that the reader of this article has knowledge in using/configuring MTG CA.

Configure MTG Connection

From Options - Connections - Certificate Authorities click Add. Enter a template name and from the drop-down list select MTG Certificate Lifecycle Manager. In the URL enter the connection URL to your MTG CA. Enter the client ID and secret into the Client Id and Client Secret fields.

Enter the realm URL and click Get Realms to get the available CA realms available.

Click the Templates button and from the dialog enable Show all and select Update to list all available certificate templates. You can select and hide a template if required which will result in the template not being available from Templates - Card Templates when configuring later.


Click the Request fields button. Depending on how your certificate templates are configured and need to be used you may have different requirements here. In this example we will use below fields that we want vSEC:CMS to provide the data for. 


It will be necessary to assign values/variables that will be used to populate values to these fields and used when generating the certificate request (CSR). Click the Fields button to do this. Click the whitespace (as circled below) to open a configuration dialog for the field you want to configure.

You can use variable mapping which will map a variable to an attribute in your user directory, AD for example. See the article Using Variables which describes how you can perform variable mapping to an attribute in your user directory.

Additionally you can use static values and/or combined with variables. Enter the static value into Use free test field and click Get variable to paste the variable value you wish.

It is recommended to enable Proxy through server checkbox which will mean that all client certificate requests will be proxied through the server.

Configure Credential Template

The next step is to configure an actual credential template where the certificate that is to be issued to the credential token will be set.

1. From Templates - Card Templates click the Add button.

Click the Edit link beside General. Enter a template name. Presuming that you are using one of the minidriver credentials that is supported by vSEC:CMS select Minidriver (Generic minidriver card) for Card type. Leave all other settings as default and click Ok to close and save.

2. Click the Edit link beside Issue Card. In the User ID Options section enable Assign user ID and select the AD connection configured earlier in the drop-down list. In the Enroll Certificate Options section enable Enroll certificate(s) checkbox and click the Add button. Select the MTG CA template from the Certificate authority drop-down list and select which CA certificate template you want to use and click Ok. Leave all other settings as is and scroll down to the bottom of the dialog and click Ok to save and close.

3. Click Ok to save and close the template configuration dialog.

Issue Credential

From the Lifecycle page attach a blank credential to your host. If it is a credential that is supported by vSEC:CMS you should see the reader and the credential similar to below.

Depending on the credential that you are testing with it will be necessary to have the appropriate credential drivers installed on your host. Please check with the credential provider that you have the correct credential drivers installed.

Click the Issued oval and select the template from Select card template drop-down list and click Execute.

You will be prompted to enter your operator token passcode before the issuance will begin. Then you will be prompted to select the user from AD that the credential will be issued to. Select the user and at the end of the process you will get a short summary dialog of what operations were performed.

The credential will now show as Issued. The credential PIN by default will be blocked. You will need to set a PIN before you can use the credential. Click the Active oval followed by the Execute button. You will be prompted to authenticate again and then set a PIN that meets the policy supported on the credential.

Once you complete this then you can use the credential certificate for whatever use case it is intended.