Configuring TPP certificate administration
Configure the TPP REST API
BMC AMI Enterprise Connector for Venafi uses a REST API to communicate with TPP. Before you can create certificate objects on TPP, your TPP Master Admin must register an API integration with the following details:
"id": "ecvenaficertrequest",
"name": "EC Venafi Certificate Administration UI",
"vendor": "BMC Software, Inc",
"description": "EC Venafi Certificate Administration UI",
"scope": "certificate:manage"
}
Obtain and store an authentication token
The TPP REST API uses API tokens to authenticate users connecting to the application. After the TPP REST API is integrated, your TPP Master Admin must get a token for the previously created TPP user that has access to the integration.
To obtain an API token
- Locate the Utilities folder in the EC for Venafi installation directory.
Inside Utilities is a folder called ECVenafi SPEyymm\GetAuthToken that contains the getauthtoken.exe utility.
The ECVenafi SPEyymm folder is specific to your SPE level. For example, if you installed EC for Venafi version 2.3 SPE2501, then the folder is named, ECVenafi SPE2501. Have the TPP Master Admin run the utility using the following syntax:
getauthtoken <tpp hostname> <user> <password>
To store an API token in EC for Venafi
- Log on to the EC for Venafi UI.
- Navigate to Manage > Encrypt and store Venafi API Token.
- In the Secret field, paste in the value from the API token's access_token parameter and click Submit.
The token is encrypted and stored in the directory that you specified as the Repository in the TPPServer statement.
Create and configure folders in TPP
The TPP Master Admin must create a Device folder and a Certificate folder in the TPP Policy Tree to receive certificates and certificate object requests from EC for Venafi. The user for which the API token was issued must have write permissions for these folders and the objects within.
The Certificate folder must have the following attributes:
- Management type—Provisioning
- CSR Generation—Service Generated CSR
- CA Template—Specify as required
You may set configure other fields as required, including the Subject DN fields.