mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
26 lines
935 B
Markdown
26 lines
935 B
Markdown
# Parameter `CACert`
|
|
Default Value: `""`
|
|
|
|
Example: `/config/certs/RootCA.pem`.
|
|
|
|
!!! Warning
|
|
This is an **Expert Parameter**! Only change it if you understand what it does!
|
|
|
|
Path to the CA certificate file.
|
|
|
|
This is part of the configuration to enable TLS for MQTT.
|
|
The CA Certificate is used by the client to validate the broker is who it claims to be.
|
|
It allows the client to authenticate the server, which is the first part of the MTLS handshake.
|
|
|
|
Usually there is a common RootCA certificate for the MQTT broker.
|
|
More information is available [here](https://jomjol.github.io/AI-on-the-edge-device-docs/MQTT-API/#mqtt-tls).
|
|
|
|
!!! Note
|
|
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!
|
|
|
|
!!! Note
|
|
Only Certificates up to 4096 Bit are supported!
|