Skip to content

Commit c8994a2

Browse files
Merge pull request #289512 from Mzamankhan/patch-17
Update concept-default-root-ca.md
2 parents c31ae23 + ab17890 commit c8994a2

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

articles/iot-operations/secure-iot-ops/concept-default-root-ca.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@ To set up Azure IoT Operations with your own issuer, use the following steps bef
9696
Cert-manager manages TLS certificates.
9797

9898
1. Install [trust-manager](https://cert-manager.io/docs/trust/trust-manager/installation/).
99-
Trust-manager is used to distribute a trust bundle to components.
99+
While installing trust manager, set the `trust namespace` to cert-manager. For example:
100+
101+
```bash
102+
helm upgrade trust-manager jetstack/trust-manager --install --namespace cert-manager --set app.trust.namespace=cert-manager --wait
103+
```
104+
105+
Trust-manager is used to distribute a trust bundle to components.
100106

101107
1. Create the Azure IoT Operations namespace.
102108

@@ -118,9 +124,16 @@ To set up Azure IoT Operations with your own issuer, use the following steps bef
118124
kubectl create configmap -n azure-iot-operations <YOUR_CONFIGMAP_NAME> --from-file=<CA_CERTIFICATE_FILENAME_PEM_OR_DER>
119125
```
120126

121-
1. Follow steps in [Deploy Azure IoT Operations](../deploy-iot-ops/howto-deploy-iot-operations.md) to deploy. *Add the `--trust-settings` parameter while initializing Azure IoT Operations.* For example:
127+
1. Follow steps in [Deploy Azure IoT Operations](../deploy-iot-ops/howto-deploy-iot-operations.md) to deploy, *with a few changes*.
128+
1. Add the `--user-trust` parameter while preparing cluster. For example:
129+
130+
```bash
131+
az iot ops init --subscription <SUBSCRIPTION_ID> --cluster <CLUSTER_NAME> -g <RESOURCE_GROUP> --user-trust
132+
```
133+
134+
2. Add the `--trust-settings` parameter while deploying Azure IoT Operations. For example:
122135

123-
```bash
124-
az iot ops init --subscription <SUBSCRIPTION_ID> --cluster <CLUSTER_NAME> -g <RESOURCE_GROUP> --trust-settings configMapName=<CONFIGMAP_NAME> configMapKey=<CONFIGMAP_KEY_WITH_PUBLICKEY_VALUE> issuerKind=<CLUSTERISSUER_OR_ISSUER> issuerName=<ISSUER_NAME>
125-
```
136+
```bash
137+
az iot ops create --subscription <SUBSCRIPTION_ID> -g <RESOURCE_GROUP> --cluster <CLUSTER_NAME> --custom-location <CUSTOME_LOCATION> -n <iNSTANCE_NAME> --sr-resource-id <SCHEMAREGISTRY_RESOURCE_ID> --trust-settings configMapName=<CONFIGMAP_NAME> configMapKey=<CONFIGMAP_KEY_WITH_PUBLICKEY_VALUE> issuerKind=<CLUSTERISSUER_OR_ISSUER> issuerName=<ISSUER_NAME>
138+
```
126139

0 commit comments

Comments
 (0)