Managing CA connectors
Configure a CA connector
Each CA has specific configuration instructions that must be completed once the CA connector is installed.
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend.
sectigo-cbcs.exe backend add -name <backend_name> -type acmpca -accesskeyid <key_id> -secretaccesskey <secret_access_key> -region <region>The command options are outlined in the following table.
Option Description nameThe name used to represent the CA backend.
typeThe type of CA that is being connected to.
For ACM the value must be
acmpca.accesskeyidThe AWS access key ID generated when adding a user to AWS.
secretaccesskeyThe AWS secret access key generated when adding a user to AWS.
regionThe region specified during CA creation.
Sample commandsectigo-cbcs.exe backend add -name test-acmpca -type acmpca -accesskeyid AKIAIOSFODNN7EXAMPLE -secretaccesskey wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY -region us-east-1
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend.
sectigo-cbcs.exe backend add -name <backend_name> -type digicert -apikey <digicert_api_key>The command options are outlined in the following table.
Option Description nameThe name used to represent the CA backend.
typeThe type of CA that is being connected to.
For DigiCert the value must be
digicert.apikeyThe DigiCert API key.
Sample commandsectigo-cbcs.exe backend add -name DigiCertCA -type digicert -apikey 49ca638f-ec73-40fa-a6f6-6a85e997a5a7
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend using either mutual TLS (mTLS) authentication or OAuth 2.0 client credentials.
-
To use mTLS authentication, run the following command:
sectigo-cbcs.exe backend add -name <backend_name> -type ejbca -baseurl <ejbca_base_url> -ca <ca_name> -cert <path_to_client_certificate> -key <path_to_client_private_key> -
To use OAuth 2.0 client-credentials authentication, run the following command:
sectigo-cbcs.exe backend add -name <backend_name> -type ejbca -baseurl <ejbca_base_url> -ca <ca_name> -tokenendpoint <oauth_token_endpoint> -clientid <client_id> -clientsecret <client_secret>You must configure one authentication method. Do not provide both mTLS and OAuth 2.0 authentication options. For an encrypted mTLS private key, add the
-password <private_key_password>option to the command.The command options are outlined in the following table.
Option Description nameThe name used to represent the local EJBCA backend.
typeThe type of CA that is being connected to.
For EJBCA, the value must be
ejbca.baseurlThe root URL of the EJBCA server.
Do not include the /ejbca/…path.caThe name of the EJBCA CA that the local backend uses.
Each local EJBCA backend can use one CA.
certThe path to the client certificate used for mTLS authentication.
keyThe path to the private key for the client certificate used for mTLS authentication.
passwordThe password for the encrypted private key.
This option is required only when the private key is encrypted.
tokenendpointThe OAuth 2.0 token endpoint.
clientidThe OAuth 2.0 client ID.
clientsecretThe OAuth 2.0 client secret.
Sample mTLS commandsectigo-cbcs.exe backend add -name EJBCA-CA1 -type ejbca -baseurl https://ejbca.example.com -ca ExampleCA -cert C:/EJBCA/client.pem -key C:/EJBCA/client-key.pemSample OAuth 2.0 commandsectigo-cbcs.exe backend add -name EJBCA-CA1 -type ejbca -baseurl https://ejbca.example.com -ca ExampleCA -tokenendpoint https://auth.example.com/realms/ejbca/protocol/openid-connect/token -clientid scm-connector -clientsecret example-client-secret
-
-
(Optional) For mTLS authentication, delete the client certificate and private-key files after creating the local backend.
The CA connector copies and encrypts the mTLS certificate and private key when the local backend is created.
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend.
sectigo-cbcs.exe backend add -name <backend_name> -type gcpcas -project <project_id> -location <location> -key <path_to_key_file>The command options are outlined in the following table.
Option Description nameThe name used to represent the CA backend.
typeThe type of CA that is being connected to.
For GCP CA Service the value must be
gcpcas.projectThe GCP Project ID.
locationThe location specified during CA creation.
keyThe path to the service account key
.jsonfile.Sample commandsectigo-cbcs.exe backend add -name GoogleCA -type gcpcas -project private-ca-342871 -location us-east-1 -key C:/Users/sampleuser/Downloads/service-account-key.json
-
(Optional) Delete the service account
keyfile.All required information is copied and encrypted from this file during the creation of the backend CA.
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend.
sectigo-cbcs.exe backend add -name <backend_name> -type msca -server <server> -ca <ca_common_name>The command options are outlined in the following table.
Option Description nameThe name used to represent the CA backend.
typeThe type of CA that is being connected to.
For Microsoft CA the value must be
msca.serverThe hostname of the server hosting the Microsoft CA.
caThe CA’s Common Name.
Sample commandsectigo-cbcs.exe backend add -name MSCA1 -type msca -server SectigoTestCA -ca local-SectigoTestCA-CA
-
Generate the Enrollment Agent (EA) key pair and enroll the Enrollment Agent Certificate.
sectigo-cbcs.exe backend msca enroll-agent-cert -name <backend_name> -ca <ca_common_name>You can specify an alternative EA template by adding the -template <your_ea_name>option.
-
In a command prompt window, navigate to the CA connector install location.
-
Create a new backend.
sectigo-cbcs.exe backend add -name <Name> -type globalsign_atlas -apikey <API Key> -apisecret <API Secret> -cert <path/to/mtls.crt> -key <path/to/mtls.key>The command options are outlined in the following table.
Option Description nameThe name used to represent the CA backend.
typeThe type of CA that is being connected to.
For GlobalSign Atlas the value must be
globalsign_atlas.apikeyThe API key that was generated.
apisecretThe API secret.
certThe path to the mTLS client certificate downloaded from the GlobalSign Atlas API Credential card.
keyThe path to the private key that corresponds to the mTLS client certificate.
Sample commandsectigo-cbcs.exe backend add -name GlobalSign -type globalsign_atlas -apikey <api_key> -apisecret <api_secret> -cert C:/Users/sampleuser/Downloads/mtls.crt -key C:/Users/sampleuser/Downloads/mtls.key
|
You can view additional CLI commands with the sectigo-cbcs help |
Restore a CA connector
CA Connectors that are offline for over 30 days may lose the ability to connect to SCM. In most cases, this connectivity can be restored by doing the following:
-
Log in to SCM.
-
Navigate to .
-
Select the connector to be restored, and click Restore.
-
Click OK.
-
Save the displayed token, and close the Restore Connector dialog.
-
In a command prompt window, navigate to the CA connector install location.
-
Restore the connector.
register -token <registration_token> -force
Update a CA connector
-
Log in to SCM.
-
From the left-hand menu, select About.
-
Click the Download CA Connector icon.
-
(Optional) If required, move the
SectigoCBCS.msifile to the CA connector machine. -
Right-click
SectigoCBCS.msiand click Install.The package automatically recognizes that there’s an existing version of the CA connector and initiates an update instead of a new install.
-
Read the EULA, select I accept the terms in the License Agreement, and click Next.
-
(Optional) Specify an installation location.
-
Click Next, Install, and Close.
-
In SCM, navigate to the CA Connectors page and verify that the connector is connected and showing the correct version.
Uninstall a CA connector
-
In Windows, navigate to .
-
Search for Sectigo.
-
Select the Sectigo CA Backend Connector and click Uninstall.
-
(Optional) Delete the files and logs associated with the CA connector.
-
Navigate to
C:\ProgramData\Sectigo Limited. -
Delete the
SectigoCBCSfolder.This cannot be undone. Only delete this folder if you want to completely remove all files and logs related to the CA connector.
-
-
In SCM, navigate to .
-
Select the connector you want to delete.
-
Click the Delete icon.
-
Click Delete.