|
@@ -1,23 +1,23 @@
|
|
|
# Parameter `ClientCert`
|
|
# Parameter `ClientCert`
|
|
|
Default Value: `""`
|
|
Default Value: `""`
|
|
|
|
|
|
|
|
-Example: `/config/certs/client.pem.crt`.
|
|
|
|
|
|
|
+Example: `/config/certs/client.crt`.
|
|
|
|
|
|
|
|
!!! Warning
|
|
!!! Warning
|
|
|
This is an **Expert Parameter**! Only change it if you understand what it does!
|
|
This is an **Expert Parameter**! Only change it if you understand what it does!
|
|
|
|
|
|
|
|
Path to the Client Certificate file.
|
|
Path to the Client Certificate file.
|
|
|
|
|
|
|
|
-This is part of the configuration to enable TLS for MQTT.
|
|
|
|
|
|
|
+This is part of the configuration to enable TLS 1.2 for MQTT.<br>
|
|
|
|
|
+
|
|
|
The Client Certificate is used by the client to prove its identity to the server, in conjunction with the Client Key.
|
|
The Client Certificate is used by the client to prove its identity to the server, in conjunction with the Client Key.
|
|
|
It is the second part of the MTLS handshake.
|
|
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.
|
|
Usually there is a one pair of Client Certificate/Key for each client that connects to the MQTT broker.
|
|
|
More information is available [here](https://jomjol.github.io/AI-on-the-edge-device-docs/MQTT-API/#mqtt-tls).
|
|
More information is available [here](https://jomjol.github.io/AI-on-the-edge-device-docs/MQTT-API/#mqtt-tls).
|
|
|
|
|
|
|
|
-!!! Note
|
|
|
|
|
- If set, `ClientKey` 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`!
|
|
|
|
|
|
|
+For more information on how to create your own certificate, see: [mosquitto.org](https://mosquitto.org/man/mosquitto-tls-7.html) or [emqx.com](https://www.emqx.com/en/blog/emqx-server-ssl-tls-secure-connection-configuration-guide).
|
|
|
|
|
|
|
|
!!! Note
|
|
!!! Note
|
|
|
- Only TLS 1.2 is supported!
|
|
|
|
|
|
|
+ If set, `ClientKey` 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`!
|