Local Cluster - Setup v2
Use the Flowgear Local Cluster Manager app to configure a Host with the Cluster's config.json, send its certificate to Flowgear, and start its background service. The app manages a Windows service on Windows and a daemon on macOS. Trust the certificate in the Flowgear Console so the Host can connect.
Prerequisites
- The Flowgear local Cluster is installed on a supported Windows or macOS Host. See Install a local Cluster for the Windows procedure.
- The local Cluster is registered in the Flowgear Console.
- You have administrator privileges on the machine.
- To trust the certificate, you need permission to edit the local Cluster in the Flowgear Console.
Adding a Host to a Cluster that already has one? See Add a Host to an existing Cluster. The steps are different because every Host shares the Cluster's trusted certificate.
Step 1: Copy config.json
The Cluster's config.json contains the values the Host needs to connect: your Flowgear tenant Host name, the ClusterKey, and the SiteKey.
- Open the local Cluster in the Flowgear Console to view its detail page.
- In the
Set up this Clustersection underHosts, copy theconfig.jsonwith its copy button. You can also download it as a file.
Tip: You can also download a Cluster's
config.jsonfrom theLocal Clustersexplorer by selectingDownload config.jsonin the Cluster's menu.
Step 2: Configure and start the Host
-
On the Host machine, open
Flowgear Local Cluster Managerfrom the Windows Start menu or the macOS Applications folder. Approve an administrator prompt when the app requests authorization for a protected action. -
Under
Configuration, paste the contents ofconfig.json.The app checks the configuration as you type and shows its state:
Certificate neededmeans the configuration is valid but the Host has no certificate yet, andCompletemeans the configuration and its certificate are ready. -
Click
Configure & Start.
The app then:
- Creates a certificate if the configuration does not name one yet and adds its
CertificateThumbprintto the configuration. Windows stores it underLocal Computer→Personal→Certificates; macOS stores it in the System keychain. - Saves the Host configuration to
config.json. - Sends the certificate's public key to Flowgear as a candidate for an administrator to trust.
- Installs the service or daemon registration if it is missing.
- Stops the
Flowgear Local Cluster Hostservice or daemon if it is already running, and then starts it.
On Windows, the Manager automatically retries the initial service startup if a cold start does not complete. These retries only repeat the startup attempt; they do not save the configuration, submit the certificate, or install the service again.
The Result panel shows the outcome and any next step. Certificate sent for approval in Console. confirms that the certificate was sent.
The Configuration panel now shows the saved configuration, including the CertificateThumbprint. Copy this value for the next step.
The top-right Settings gear menu contains the service or daemon controls, installation and uninstallation actions, Open Log Folder, and Delete config.
Step 3: Trust the certificate
The Host cannot connect until its certificate is trusted.
- Open the local Cluster in the Flowgear Console to view its detail page.
- In the
Certificatesection, openCandidate certificates, and then clickRefresh candidatesif the certificate does not appear yet. - Find the candidate whose thumbprint matches the
CertificateThumbprintfrom the app. You can search by thumbprint or subject. - Click
Truston that row. - In the
Trust certificatedialog, paste theCertificateThumbprintfrom the app.Trustis only available once the pasted value matches the candidate's thumbprint exactly. - Click
Trust.
The Certificate section now shows the trusted certificate's thumbprint. If the Host service or daemon is running, it continues retrying validation and should detect the approval within a few minutes. You do not need to restart it.
If the service or daemon did not start during configuration, open the Settings gear menu in Flowgear Local Cluster Manager, start it, and then check the Result panel for the outcome.
About candidate certificates
- A candidate expires 24 hours after it was last submitted. Expired candidates show
Expiredand cannot be trusted. ClickConfigure & Startagain in the app to submit the certificate again. - A Cluster can hold up to five candidates, including expired ones. To make room, remove candidates you do not need, either one at a time or by selecting several and clicking
Remove selected. - Candidates only appear while the Cluster has no trusted certificate.
Step 4: Verify the Host
- In the Flowgear Console, click the refresh button beside the
Hostsheading on the local Cluster's detail page. - Confirm that the Host appears and shows as online.
Note: The service or daemon status in
Flowgear Local Cluster Manageronly shows the operating-system state.Runningdoes not confirm that the Host has connected to Flowgear. Check the Host's status in the Flowgear Console.
Add a Host to an existing Cluster
Every Host in a Cluster uses the same trusted certificate, so there is no new certificate to trust. Copy the certificate, including its private key, from an existing Host to the new machine.
When the Cluster has Hosts and a trusted certificate, its detail page shows an Add a Host section under Hosts with these steps and the thumbprint to export.
- On a machine that already runs the Cluster, export the certificate with the trusted thumbprint, including its private key, as a password-protected PKCS #12 file. On Windows, find it in
certlm.mscunderLocal Computer→Personal→Certificates. On macOS, find it in the System keychain. - On the new machine, import the certificate and private key into the same machine-wide store:
Local Computer→Personal→Certificateson Windows, or the System keychain on macOS. - Install the Local Cluster Host package for the new machine. For Windows, follow Install a local Cluster.
- Copy the
config.jsonfrom theAdd a Hostsection, paste it into theFlowgear Local Cluster Managerapp on the new machine, and then clickConfigure & Start.
The config.json already names the trusted certificate, and the new Host connects once the service starts.
Upload a certificate manually
If a Host cannot send its certificate from the Flowgear Local Cluster Manager app, you can upload the certificate's public key instead.
- Export the Host's certificate without its private key as a
.cerfile. Its thumbprint is theCertificateThumbprintin the Host's configuration. On Windows, find the certificate underLocal Computer→Personal→Certificates; on macOS, find it in the System keychain. - Open the local Cluster in the Flowgear Console.
- In the
Certificatesection, expandUpload a certificate manually, and then upload the.cerfile.
If the Host service or daemon is running, it should detect approval within a few minutes without a restart. If it is not running, start it from the Manager's Settings gear menu.
Do not upload a .pfx, .p12, or any other file that contains the private key.
Remove the trusted certificate
Remove the trusted certificate when you need to replace it, for example after the certificate is compromised or a Host is rebuilt.
- Open the local Cluster in the Flowgear Console.
- In the
Certificatesection, clickRemove certificate. - Confirm the removal.
No Host in the Cluster can connect again until a new certificate is trusted. A connection that is already open can stay active until the service on that Host is restarted.
After removal, the Candidate certificates section appears again so you can trust a replacement certificate.
Troubleshooting
The certificate was not accepted
The Result panel shows this message when the Cluster already has a trusted certificate, or when it already holds five candidates. Remove the trusted certificate or unneeded candidates in the Flowgear Console, and then click Configure & Start again.
This Local Cluster could not be found
Check that you copied config.json from the correct Cluster in the Flowgear Console.
The server could not be reached
Check the Host value in the configuration and confirm that the machine has outbound access to port 443.
Too many attempts
The app limits how often it can send a certificate. Wait for the time shown, and then try again.
The service or daemon fails to start
Open the Manager's Settings gear menu and click Open Log Folder to view the Host's log files. On Windows, also check Windows Event Viewer. On macOS, check the daemon output under /Library/Logs/Flowgear/LocalRuntime.
The local Cluster does not come online
First check the service or daemon status in the Manager:
- If it never started, open the
Settingsgear menu, start it, and check theResultpanel and log files for errors. - If it is
Running, confirm that the certificate is trusted and that its thumbprint matches theCertificateThumbprintin the Host's configuration. The running Host retries validation automatically, so allow a few minutes for it to detect approval before checking the logs.