Log in to the CryptoHub
Perform the following steps to log in to the CryptoHub and go to the Certificate Management menu:Create a certificate container
Perform the following steps to create a new X.509 certificate container:Select [ Add CA ] at the bottom of the page or right-click anywhere in the window and select Add CA.
In the pop-up menu, specify the following information for the certificate container:
- Name: Microsoft SignTool
- Host: None
- Type: X.509
- Owner Group: In the drop-down, select the Microsoft SignTool role.
Generate a root CA certificate
Before generating the Code Signing certificate for Microsoft SignTool, you must first perform the following steps to generate a root CA certificate:Right-click the X.509 certificate container you created and select Add Certificate > New Certificate.
In the Subject DN tab of the certificate creation wizard, select the Classic preset in the drop-down menu and specify Root as the Common Name for the certificate.
Issue a certificate
Perform the following steps to issue a Code Signing certificate for Microsoft SignTool:In the Subject DN tab of the certificate creation wizard, select the Classic preset in the drop-down menu and specify MS SignTool as the Common Name for the certificate.
Create an approval group
Perform the following steps to create an approval group for PKI signing:Select [ Add Approval Group ] at the bottom of the page or right-click anywhere in the window and select Add Approval Group.
In the first drop-down list, select the role automatically created for the Microsoft SignTool service you deployed, and select [ Add ].
Add an issuance policy
Perform the following steps to add an issuance policy to the MS SignTool Code Signing certificate:Expand the view for the Microsoft SignTool certificate container by selecting the plus (+) icons to show both the Root and MS SignTool certificates.
In the Basic Info tab, set:
- Approvals: 0
- A later step configures Anonymous signing after adding the issuance policy, so don’t worry about the following displayed warning message: Zero approval policy requires Anonymous Signing security usage.
- Allowed hashes: SHA-256
Assign a name
Perform the following steps to assign the MS SignTool private key a name:In the Keys section, you should see the MS SignTool key pair. Right-click the MS SignTool key pair and select Edit.
Grant permissions
Perform the following steps to grant Microsoft SignTool role permissions to use the private key:Select the Permission drop-down option for the Microsoft SignTool role and grant the Use permission.
Export the certificates
Perform the following steps to export the Microsoft SignTool and root CA certificates:Expand the view for the Microsoft SignTool certificate container by selecting the plus (+) icons twice to show both the Root and MS SignTool certificates.
You must copy the Microsoft SignTool and root CA certificates to the Windows machine where you deployed the integration.

