In order to restrict the access to your Gravio Hub, you need to install the Gravio Studio Client Certificate on your Gravio Studio. This feature is only available to Basic users.
The Gravio Client Certificate Authentication Process
The below diagram illustrates the way we use Client Certificate Authentication in Gravio.
Implementing Authentication
To download the certificate file, log into your Coordinator and navigate to the Accounts file and download your .cer
file:
Copy the downloaded .cer
file to the data directory <gravio>/clientcert
of the Gravio Hub(HubKit PC). For more details how to find the correct directory, please refer to these instructions.
Also, open the data directory <gravio>/conf/gss.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
}
You will then be able to access this Gravio Hub (HubKit PC) only from Gravio Studio, which you are using by installing this certificate on your Gravio Hub (HubKit PC).
To register your certificate with Gravio Hub (HubKit PC), see here.
After registering your certificate to the Gravio Hub (HubKit PC), you can register your certificate to Gravio Hub (HubKit PC) by using the Gravio Hub ( Restart the HubKit PC). Client authentication will be enabled after the restart.