Automation
All automation workflows, including automated certificate renewal, deployment tasks, Discovery auto‑scans, and Discovery Automation are performed by the TLS Connect Automation Service. Automated certificate renewal and deployment can be configured once you have an existing certificate, either issued from or imported to TLS Connect.
The Automation Service runs as a Windows service on the TLS Connect server. When running, it operates in the background and periodically checks whether any automation tasks are due to run based on their configured schedules.
Setting up the Automation Service requires activating the Automation Service, creating a server profile with deployment targets, and then scheduling the task to run.
This feature is for Premium license holders only.
Activate the Automation Service
-
Open the TLS Connect application and navigate to the Automation > Dashboard tab.
-
Click Install Service. This installs the TLS Connect Automation Service in Windows Services. The service status will read “STOPPED".
-
Click Start Service to run in the background and begin running automation tasks. The service status will read “RUNNING”.
-
Click Stop Service to pause the service from running and all automation activity. The service status will read “STOPPED”.
-
Click Uninstall to remove the service. The service status will read “NOT INSTALLED”.
Set Automation Schedule
- In the Configuration & Manual Run section, select Interval Mode and enter the hourly interval, or Daily Time Mode and the time.
- Click Save.
- Check the time in the Next Scheduled Run section to confirm the settings.
Select Run Once triggers the automation service to run, outside of its normal schedule. If the service is not running, start it first. A run missed while the service was stopped starts soon after the service starts.
Create a Server Profile
Server profiles define where certificates are deployed when an automation task runs.
-
Open the TLS Connect application and navigate to the Automation > Server Profiles tab.
-
Click Create Profile.
-
Click the Edit (blue pencil) icon next to the default profile name or right-click Rename profile to change the name of the profile.
-
Click Add Targets.
-
Add one or more deployment targets, such as:
-
Agent Servers (Windows/Linux) - A server running the TLS Connect agent (the agent must be installed on the target server first).
-
Cloud or Appliance Target - AWS, Azure Key Vault, F5 BIG-IP, Google Cloud, OpenShift / Kubernetes, or a PowerShell Script for any other platform.
NOTE: You must have agents deployed to servers, and your cloud platforms/network appliances must be configured in TLS Connect to use this feature. Multiple targets can be included in a single automation profile.
-
-
Agentless Server (token-based) - A server without an agent that downloads its certificate with a script. Refer to Agent/Agentless support article↗ for more details about these options.
-
-
Optional: Tick Dry Run on a target to test without writing to it.
-
Click the Edit (pencil) icon to configure deployment rules for the target server.
-
Click Save.
In the Automation section, tick Enable Auto-Renewal to enable auto-renewal for this profile.
Right-click the server profile card and select Duplicate profile to copy the server profile as a new profile. This will copy targets, rules, scripts, agentless servers (with a new token), and settings, but not the linked certificate. The duplicate profile deploys certificates to the same targets.
Right-click the server profile card and select Delete profile to delete a profile. This will delete the profile’s linked tasks and cloud, appliance, and script targets.
Create a Certificate Renewal Task
Certificate automation renews certificates before they expire and deploys them to the servers, applications and services that use them. You set up a renewal task for each certificate, and TLS Connect handles the renewal and deployment on schedule, whether the target is reached directly, through an agent, or by an agentless download.
-
Open the TLS Connect application and navigate to the Automation > Cert Config tab.
-
Click New Task icon.
-
Select the Task type Certificate renewal (deployment profile).
-
Enter a name for the task in the Task Name field.
-
Select Atlas in GlobalSign Platform dropdown menu.
-
Select the linked Atlas certificate service.
-
Specify how many days before certificate expiration the renewal task should run.
-
Select a certificate from the Source Certificate (MMC) dropdown menu. This certificate serves as a template for renewed certificates.
-
Select the server profile you created in the previous section.
-
If Check the Windows certificate store (MMC) first is selected, TLS Connect looks in the Local Computer store for a GlobalSign certificate with the same subject and SANs and an exportable private key. If that certificate is valid for longer than Renew before (days) plus the extra days set on the task, it is deployed instead of ordering a new one.
-
Require a trusted chain (off by default) reuses a store certificate only if it chains to a GlobalSign public root. Certificates that don’t, such as internal or test certificates, are skipped, and a new certificate is ordered. The GlobalSign root must be in the Windows trust store on the TLS Connect server. If it is missing, for example on an offline server, the store certificate is not reused.
-
Click Save Task.
Once saved, you will be able to Edit, Renew and Remove the task from the list.
From Automation > Dashboard you can view, modify, pause, or resume automation tasks. The dashboard also displays the number of tasks that are currently pending execution.
Create a Discovery Automation Task
Discovery automation renews the certificates TLS Connect finds on network appliances and cloud platforms, and replaces them in place without agents or manual steps. You set up one task for each discovery profile, and TLS Connect keeps the certificates it finds there renewed automatically.
-
If you haven’t done so yet, run a scan profile on an appliance so that you have an inventory of appliance certificates.
-
Open the TLS Connect application and navigate to the Automation > Cert Config tab.
-
Click the New Task icon.
-
Select the Task type Discovery automation.
-
Enter a name for the task in the Task Name field.
-
Select Atlas in GlobalSign Platform dropdown menu.
-
Select the linked Atlas certificate service.
-
Specify how many days before certificate expiration the renewal task should run.
-
Select the Appliance type.
-
Select the Discovery profile.
-
In the Certificates field, choose to Skip self-signed certificates or Only certificates issued by GlobalSign. These fields display a tick mark in the certificate Inventory in the Automation column.
-
If Check the Windows certificate store (MMC) first is selected, TLS Connect looks in the Local Computer store for a GlobalSign certificate with the same subject and SANs and an exportable private key. If that certificate is valid for longer than Renew before (days) plus the extra days set on the task, it is deployed instead of ordering a new one.
-
Require a trusted chain (off by default) reuses a store certificate only if it chains to a GlobalSign public root. Certificates that don’t, such as internal or test certificates, are skipped, and a new certificate is ordered. The GlobalSign root must be in the Windows trust store on the TLS Connect server. If it is missing, for example on an offline server, the store certificate is not reused.
-
Click Save Task.
Once saved, you will be able to Edit, Renew and Remove the task from the list.
From Automation > Dashboard you can view, modify, pause, or resume automation tasks. The dashboard also displays the number of tasks that are currently pending execution.
What Happens in a Run
Each time automation runs, either on schedule or when you select Run Once, the Automation service checks every task that is switched On. A task is due when its certificate’s days left are at or below its Renew before (days) setting.
For each due task, TLS Connect uses the first option that applies:
-
If the last deployment failed, it retries the deployment without placing a new order.
-
If an order is already waiting at the CA, it collects that order.
-
If Check the Windows certificate store first is enabled and a matching certificate is in the store, it reuses that certificate.
-
Otherwise, it orders a new certificate.
The certificate is imported into the Windows certificate store and then deployed. Cloud, appliance and script targets receive it immediately, agents receive it at their next check-in, and agentless servers receive it at their next download.
Renewal tasks run first, followed by Discovery automation tasks.
|
Status |
What to do |
|---|---|
|
Renewed & Deployed |
Nothing. Done. |
|
Order pending at CA |
Nothing has failed (for example domain validation is open). The next run or Renew Now collects it. |
|
Order may exist at the CA |
The CA did not answer, so nothing is ordered again. Check the GCC or Atlas portal, then use Renew Now. |
|
Renewed / Dry run - not deployed |
Untick Dry Run in the server profile, save, then Deploy. |
|
Deploy Failed (max retries), Deploy Failed (Config) |
Correct the target and use Deploy. |
|
Failed |
Check the activity log. The task is retried at the next run. |
If email notifications is enabled, a certificate deployment report is sent after each deployment that lists every target with its result.