For the complete documentation index, see llms.txt. This page is also available as Markdown.

REST API - creating and importing REST API certificates

Create, export, and import a REST API server certificate in Command Centre.

This page covers the server certificate, which lets the client trust Command Centre. The certificate does not need to be created on the Command Centre server.

Create

Run PowerShell as Administrator:

New-SelfSignedCertificate -certstorelocation cert:\currentuser\my -dnsname GallagherRestClientCert

Open the certificate in MMC and copy the Thumbprint.

Export

  1. Open the certificate's Details tab, then choose Copy to File.

  2. Select Yes, export the private key, and accept the defaults.

  3. Enable Password and enter one.

  4. Browse to a location and save.

Import to Command Centre

  1. Go to Server Properties → Web Services.

  2. Untick "Enable REST Clients with no client certificate".

  3. Choose Manage Certificates → Custom Certificate → Import.

  4. Select the saved certificate, enter the password, and choose OK.

  5. Choose Apply.

Alternative: custom server certificate via the Windows Certificate Store

Name the certificate exactly "Gallagher Command Centre Server", place it in the Gallagher Applications / Certificates folder of the Local Computer certificate store, and grant Command Centre rights to use it. A custom server certificate is not required for experimental development.


🔗 Related

Last updated

Was this helpful?