I have device-signed certificates to establish a handshake between the device and Digital Twin (ca.crt, client.crt, client.key)
However, I don't know where I can configure these certificates in the Ditto Digital Twin or how to publish these certificates.
Can you please guide me through the process?
{
"uri": "<secure-transport-protocol>://<host>:<port>/<path>",
"credentials": {
"type": "client-cert",
"cert": "-----BEGIN CERTIFICATE-----\n<client certificate>\n-----END CERTIFICATE-----",
"key": "-----BEGIN PRIVATE KEY-----\n<client private key>\n-----END PRIVATE KEY-----"
}
}
I tried adding the client certificate/private key in my ditto MQTT connection, but ditto is not accepting the format, or that this is NOT how it is supposed to be carried out.