- Create an X.509 Certificate Container.
- Generate the CA certificates.
- Issue a code signing certificate for GitLab.
- Create a PKI Signing Approval Bucket to hold requests.
- Apply an Issuance Policy to the code signing certificate.
Create an X.509 Certificate Container
Perform the following steps to create an X.509 certificate container that is owned by the GitLab role CryptoHub created for the service:Generate the CA certificates
Perform the following steps to generate a self-signed root CA and an issuing CA:Right-click the GitLab Code Signing CA X.509 certificate container and select Add Certificate > New Certificate.
Configure the following Basic Info settings:
- Change the key Size to 4096.
- Leave all other fields set to the default values.
Issue a code signing certificate for GitLab
Perform the following steps to issue a code signing certificate for GitLab:Configure the following Basic Info settings:
- Change the key Size to 4096.
- Leave all other fields set to the default values.
Create a PKI Signing Approval bucket to hold requests
Perform the following steps to create a PKI Signing Approval bucket to hold certificate requests:Right-click the PKI Signing Approval bucket (i.e., Approval Group) you just created and select Permission.
Apply an Issuance Policy to the GitLab code signing certificate
Perform the following steps to apply an issuance policy to the GitLab code signing certificate:Configure the following X.509 settings:
- Default approval group: Select the PKI Signing Approval group you just created.
Configure the following Object Signing settings:
- Allow object signing: Select the checkbox to enable it.
Configure the following Code Signing settings:
- Allowed Profiles: Select the checkbox next to each code signing profile you want to allow.

