Skip to content

Commit 468ed4b

Browse files
committed
Add connect from other namespace
1 parent 2654cd6 commit 468ed4b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

articles/iot-operations/manage-mqtt-broker/howto-configure-tls-auto.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.subservice: azure-mqtt-broker
77
ms.topic: how-to
88
ms.custom:
99
- ignite-2023
10-
ms.date: 08/03/2024
10+
ms.date: 08/13/2024
1111

1212
#CustomerIntent: As an operator, I want to configure MQTT broker to use TLS so that I have secure communication between the MQTT broker and client.
1313
---
@@ -228,6 +228,8 @@ renewBefore: 240h
228228
san:
229229
dns:
230230
- iotmq.example.com
231+
# To connect to the broker from a different namespace, add the following DNS name:
232+
- aio-mq-dmqtt-frontend.azure-iot-operations.svc.cluster.local
231233
ip:
232234
- 192.168.1.1
233235
```

articles/iot-operations/manage-mqtt-broker/howto-test-connection.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ kubectl get configmap aio-ca-trust-bundle-test-only -n azure-iot-operations -o j
135135

136136
Use the downloaded `ca.crt` file to configure your client to trust the broker's TLS certificate chain.
137137

138+
If you are connecting to the broker from a different namespace, you must use the full service hostname `aio-mq-dmqtt-frontend.azure-iot-operations.svc.cluster.local`. You must also add the DNS name to the server certificate by including a subject alternative name (SAN) DNS field to the *BrokerListener* resource. For more information, see [Configure server certificate parameters](howto-configure-tls-auto.md#optional-configure-server-certificate-parameters).
139+
138140
### Authenticate with the broker
139141

140142
By default, MQTT broker only accepts Kubernetes service accounts for authentication for connections from within the cluster. To connect from outside the cluster, you must configure a different authentication method like X.509. For more information, see [Configure authentication](howto-configure-authentication.md).

0 commit comments

Comments
 (0)