You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/manage-mqtt-broker/howto-configure-authentication.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -331,6 +331,9 @@ For more information about enabling secure settings by configuring an Azure Key
331
331
332
332
## X.509
333
333
334
+
> [!TIP]
335
+
> For an end-to-end example of how to configure X.509 authentication, see [Tutorial: TLS, X.509 client authentication, and attribute-based access control (ABAC) authorization](./tutorial-tls-and-x509.md).
336
+
334
337
With X.509 authentication, the MQTT broker uses a **trusted CA certificate** to validate client certificates. This trusted CA can be a root or intermediate CA. The broker checks the client certificate chain against the trusted CA certificate. If the chain is valid, the client is authenticated.
335
338
336
339
To use X.509 authentication with a trusted CA certificate, the following requirements must be met:
@@ -604,6 +607,8 @@ To get a TLS-enabled listener port, see [Enable TLS manual certificate managemen
604
607
> - **Server validation**: Clients (like mosquitto or MQTTX) check the MQTT broker's server certificate against the trusted CA certificate in their trust store. For mosquitto clients, use the `--cafile` parameter to specify the CA certificate file. For MQTTX, add the CA certificate to the trust store in the settings.
605
608
>
606
609
> So, after enabling X.509 authentication, ensure that clients trust the broker's server certificate by having the *server-side* CA certificate in their trust store. Don't confuse this with the *client-side* CA certificate used for client authentication, which is specified in the `trustedClientCaCert` field.
610
+
>
611
+
> For a full example, see [Tutorial: TLS, X.509 client authentication, and attribute-based access control (ABAC) authorization](./tutorial-tls-and-x509.md).
607
612
608
613
### Connect mosquitto client to MQTT broker with X.509 client certificate
609
614
@@ -889,3 +894,4 @@ Successful reauthentication updates the client's credential expiry with the expi
889
894
890
895
- About [BrokerListener resource](howto-configure-brokerlistener.md)
891
896
- [Configure authorization for a BrokerListener](./howto-configure-authorization.md)
897
+
- [Tutorial: TLS, X.509 client authentication, and attribute-based access control (ABAC) authorization](./tutorial-tls-and-x509.md)
0 commit comments