Managing Digital Certificates in Cambrionix Connect

Digital certificates play a crucial role in establishing secure connections between devices. Cambrionix Connect provides a comprehensive framework for setting and removing digital certificates, ensuring that connections are both secure and authenticated.

Setting a Certificate

To securely connect to devices, a digital certificate and private key must be supplied to the API. This process is vital for establishing SSL (Secure Sockets Layer) connections.

Example JSON for Setting a Certificate:

{
				"method": "cbrx_certificate",
				"params": [
				"set",
				{
				"private-key": "key-filename",
				"certificate": "certificate-filename",
				"password": "password"
				}
				]
		}

Parameters Table:

Parameter Description
key-filename The file path of the private key.
certificate-filename The file path of the certificate.
password Optional password if required by the private key.

This structure informs the Cambrionix API of the certificate's location and any necessary credentials. Once set, the API can initiate secure connections using the provided digital certificate.

Removing a Certificate

There may be scenarios where it is necessary to remove a previously set certificate. The Cambrionix Connect API allows for the straightforward removal of certificates.

Example JSON for Removing a Certificate:

{
				"jsonrpc": "2.0",
				"id": 0,
				"method": "cbrx_certificate",
				"params": ["remove"]
		}

This command instructs the API to remove the current certificate, reverting the connection to a non-SSL state or preparing it for a new certificate to be set.

Support

If you encounter any issues managing your certificates in Cambrionix Connect, or if you need further assistance, please refer to the Cambrionix Connect User Manual or contact our Support team who will be glad to assist.