Skip to content

Commit a008d23

Browse files
authored
Merge pull request #461 from zetiaatgithub/patch-2
Update how-to-secure-web-service.md
2 parents 5500356 + 226272e commit a008d23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/machine-learning/v1/how-to-secure-web-service.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,12 @@ TLS/SSL certificates expire and must be renewed. Typically this happens every ye
171171

172172
### Update a Microsoft generated certificate
173173

174-
If the certificate was originally generated by Microsoft (when using the *leaf_domain_label* to create the service), **it will automatically renew** when needed. If you want to manually renew it, use one of the following examples to update the certificate:
174+
If the certificate was originally generated by Microsoft (when using the *leaf_domain_label* to create the service), **it will automatically renew** when needed (This path doesn't work anymore, as V1 has been deprecated. You have to manually renew it). If you want to manually renew it, use one of the following examples to update the certificate:
175175

176176
> [!IMPORTANT]
177177
> * If the existing certificate is still valid, use `renew=True` (SDK) or `--ssl-renew` (CLI) to force the configuration to renew it. This operation will take about 5 hours to take effect.
178178
> * When the service was originally deployed, the `leaf_domain_label` is used to create a DNS name using the pattern `<leaf-domain-label>######.<azure-region>.cloudapp.azure.com`. To preserve the existing name (including the 6 digits originally generated), use the original `leaf_domain_label` value. Do not include the 6 digits that were generated.
179+
> * Make sure do NOT pass `overwrite_existing_domain = true` when renewing certificate (default is false without passing it in the following example)
179180

180181
**Use the SDK**
181182

@@ -188,7 +189,7 @@ from azureml.core.compute.aks import SslConfiguration
188189
aks_target = AksCompute(ws, clustername)
189190

190191
# Update the existing certificate by referencing the leaf domain label
191-
ssl_configuration = SslConfiguration(leaf_domain_label="myaks", overwrite_existing_domain=True, renew=True)
192+
ssl_configuration = SslConfiguration(leaf_domain_label="myaks", renew=True)
192193
update_config = AksUpdateConfiguration(ssl_configuration)
193194
aks_target.update(update_config)
194195
```

0 commit comments

Comments
 (0)