To restrict Gravio Studio access to the Gravio Hub, install the Gravio Studio client certificate used for the that particular Gravio Hub.
Note: This feature is only available for Basic users.

  1. Log in to Gravio Cloud with Gravio Studio and select “Client Certificate” from the menu:
  2. Enter a Credential Key (= password) at the bottom and press the “Generate” button to create a certificate.
  3. Select “Download Certificate File” to download the certificate to your PC.
  4. Copy the downloaded certificate file to the Gravio Hub data directory <your gravio instance folder>/clientcert. Please refer to here for the data directory of Gravio HubKit .
  5. Next, open the data directory <your gravio instance folder>/conf/gcc.config with a text editor and change the value of UseClientCertificates from false to true:
{
  "ServerId": "e6ef8688-bd8b-4330-ad58-XXXXXXXXXX",
  "P2PPort": 6001,
  "UseClientCertificates": false,
  "CoordinatorAddress": null,
  "CoordinatorPassword": null,
  "LicenceInfo": null,
  "CertificateInfo": null,
  "UseBlockchain": false,
  "BlockchainSensor": false,
  "BlockchainActionResult": false,
  "BlockchainActionSteps": false,
  "BlockchainPeers": [],
  "BlockchainPrivateKey": null,
  "BlockchainPublicKey": null
}

After that, you can access the Gravio Hub only from the Gravio Studio from which that certificate has originated.

Learn here how to register your server Root CA certificate on your Gravio Hub .

After registering the certificate to your Gravio Hub, restart Gravio HubKit. Restarting enables client authentication.

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.