Skip to content

Commit 5fcd7d0

Browse files
authored
Updates Enable-AzCdnCustomDomainCustomHttps Doc (#20165)
The example for Enable-AzCdnCustomDomainCustomHttps calls New-AzCdnManagedHttpsParameters with TLS12 as the ProtocolType even though that is an invalid value. I'm replacing the ProtocolType value with ServerNameIndication, which is one of the two valid values (ServerNameIndication and IPBased).
1 parent 4f0583f commit 5fcd7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cdn/help/Enable-AzCdnCustomDomainCustomHttps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Enable https delivery of the custom domain.
3333

3434
### Example 1: Enable an AzureCDN custom domain under the AzureCDN endpoint
3535
```powershell
36-
$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType TLS12
36+
$customDomainHttpsParameter = New-AzCdnManagedHttpsParametersObject -CertificateSourceParameterCertificateType Dedicated -CertificateSource Cdn -ProtocolType ServerNameIndication
3737
Enable-AzCdnCustomDomainCustomHttps -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001 -CustomDomainName customdomain001 -CustomDomainHttpsParameter $customDomainHttpsParameter
3838
```
3939

0 commit comments

Comments
 (0)