mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
23 lines
822 B
Markdown
23 lines
822 B
Markdown
# Parameter `ClientKey`
|
|
Default Value: `""`
|
|
|
|
Example: `/config/certs/client.pem.key`.
|
|
|
|
!!! Warning
|
|
This is an **Expert Parameter**! Only change it if you understand what it does!
|
|
|
|
Path to the Client Key file.
|
|
|
|
This is part of the configuration to enable TLS for MQTT.
|
|
The Client Key is used by the client to prove its identity to the server, in conjunction with the Client Certificate.
|
|
It is the second part of the MTLS handshake.
|
|
|
|
Usually there is a one pair of Client Certificate/Key for each client that connects to the MQTT broker
|
|
|
|
!!! Note
|
|
If set, `ClientCert` must be set too
|
|
This also means that you might have to change the protocol and port in [uri](https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/#parameter-uri) to `mqtts://example.com:8883`!
|
|
|
|
!!! Note
|
|
Only TLS 1.2 is supported!
|