GCM Connector
This section details how to configure the Google Certificate Manager Connector.
Prerequisites
On Horizon side, you might need to set up a Proxy , used to reach GCM, if necessary.
On Google Cloud side, you need to create a service account using the IAM, and grant that SA the appropriate permissions, as documented here. Typically, these can be granted through the Certificate Manager Owner role (roles/certificatemanager.owner), or through the individual following permissions:
-
certificatemanager.certs.create -
certificatemanager.certs.list -
certificatemanager.certs.get -
certificatemanager.certs.update -
certificatemanager.certs.delete
After performing these steps, you will get the following information, required later:
-
the GCP Project
-
the GCP Location
-
the JSON key file of the GCP Service Account
How to configure GCM Connector
1. Log in to Horizon Administration Interface.
2. Access GCM Connectors from the drawer or card: .
3. Click on .
4. Fill the mandatory fields.
General
-
Name* (string input):
Enter a meaningful connector name. It must be unique for each connector. Horizon uses the name to identify the connector. -
GCM Service Account Credentials* (select):
SelectAPI Tokencredentials whose JSON Token holds the full content of the service account JSON key file. -
Proxy (string select):
The HTTP/HTTPS proxy to use. -
Timeout (finite duration):
Set by default at 10 seconds. Must be a valid finite duration.
Assets identification
-
Project name* (string input):
ID of the GCP project hosting the certificates. -
Location* (string input):
Location of the Certificate Manager resources,globalor a region. -
Label (string inputs):
Used to filter the certificates managed by Horizon in GCM.-
Key (string input):
The label key. manage by default. -
Value (string input):
The label value. horizon by default.
-
Actors and renewal management
This configuration element paces the calls made by the scheduled tasks described below, which process certificates in batches. Pushes fired by the profile triggers are not throttled. The GCM connector issues one call per throttle window, so Throttle duration alone sets that pace.
-
Throttle duration* (finite duration):
Set by default at 3 seconds. Must be a valid finite duration. -
Renewal period* (finite duration):
Must be a valid finite duration.
5. Click on the save button.
You can update or delete
the GCM Connector.
|
You will not be able to delete a GCM Connector if it is referenced in any other configuration element. |
Synchronize your third party
Your third-party certificates can be synchronized with Horizon using scheduled tasks.
Scheduled tasks are a functionality of WebRA that allows to synchronize automatic renewal or revocation events with a third party periodically with what occurs on a WebRA profile. To be more specific, it will periodically check whether the certificate has entered the "renewal period" that was defined in the connector’s configuration, and renew it automatically if necessary.
1. Refer to the third party connector documentation to create a third party connector.
2. Ensure you have an existing WebRA Profile: renewal will be automated on the selected profile.
3. Follow the documentation of the WebRA Scheduled Tasks section to properly configure a scheduled task.