Skip to content

Commit 62d428c

Browse files
committed
remove old steps and point to managed identity
1 parent 3717cbd commit 62d428c

File tree

1 file changed

+2
-63
lines changed

1 file changed

+2
-63
lines changed

articles/cdn/cdn-custom-ssl.md

Lines changed: 2 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -110,70 +110,9 @@ You can use your own certificate to enable the HTTPS feature. This process is do
110110
> - Azure Content Delivery Network only supports PFX certificates.
111111
> - The certificate must have a complete certificate chain with leaf and intermediate certificates, and root CA must be part of the [Microsoft Trusted CA List](https://ccadb-public.secure.force.com/microsoft/IncludedCACertificateReportForMSFT).
112112
113-
### Register Azure CDN
113+
### Set up managed identity for Azure CDN
114114

115-
Register Azure CDN as an app in your Microsoft Entra ID.
116-
117-
> [!NOTE]
118-
> - `205478c0-bd83-4e1b-a9d6-db63a3e1e1c8` is the service principal for `Microsoft.AzureFrontDoor-Cdn`.
119-
> - You need to have the **Global Administrator** role to run this command.
120-
> - The service principal name was changed from `Microsoft.Azure.Cdn` to `Microsoft.AzureFrontDoor-Cdn`.
121-
122-
#### Azure PowerShell
123-
124-
1. If needed, install [Azure PowerShell](/powershell/azure/install-azure-powershell) on your local machine.
125-
126-
2. In PowerShell, run the following command:
127-
128-
`New-AzADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"`
129-
130-
```
131-
New-AzADServicePrincipal -ApplicationId "205478c0-bd83-4e1b-a9d6-db63a3e1e1c8"
132-
133-
Secret :
134-
ServicePrincipalNames : {205478c0-bd83-4e1b-a9d6-db63a3e1e1c8,
135-
https://microsoft.onmicrosoft.com/033ce1c9-f832-4658-b024-ef1cbea108b8}
136-
ApplicationId : 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8
137-
ObjectType : ServicePrincipal DisplayName : Microsoft.AzureFrontDoor-Cdn Id : abcdef12-3456-7890-abcd-ef1234567890
138-
Type :
139-
```
140-
141-
<a name='azure-cli'></a>
142-
143-
#### The Azure CLI
144-
145-
1. If needed, install the [Azure CLI](/cli/azure/install-azure-cli) on your local machine.
146-
147-
1. Use the Azure CLI to run the following command:
148-
149-
```azurecli-interactive
150-
az ad sp create --id 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8
151-
```
152-
153-
### Grant Azure CDN access to your key vault
154-
155-
Grant Azure CDN permission to access the certificates (secrets) in your Azure Key Vault account.
156-
157-
1. In your key vault in the **Settings** section, select **Access policies**. In the right pane, select **+ Add Access Policy**:
158-
159-
:::image type="content" source="./media/cdn-custom-ssl/cdn-new-access-policy.png" alt-text="Screenshot of create a Key Vault access policy for Azure Content Delivery Network." border="true":::
160-
161-
2. In the **Add access policy** page, select **None selected** next to **Select principal**. In the **Principal** page, enter **205478c0-bd83-4e1b-a9d6-db63a3e1e1c8**. Select **Microsoft.AzureFrontdoor-Cdn**. Choose **Select**:
162-
163-
3. In **Select principal**, search for **205478c0-bd83-4e1b-a9d6-db63a3e1e1c8**, choose **Microsoft.AzureFrontDoor-Cdn**. Choose **Select**.
164-
165-
:::image type="content" source="./media/cdn-custom-ssl/cdn-access-policy-settings.png" alt-text="Select service principal of Azure CDN" border="true":::
166-
167-
4. Select **Certificate permissions**. Select the checkbox for **Get** to allow CDN permissions to get the certificates.
168-
169-
5. Select **Secret permissions**. Select the checkbox for **Get** to allow CDN permissions to get the secrets:
170-
171-
:::image type="content" source="./media/cdn-custom-ssl/cdn-vault-permissions.png" alt-text="Screenshot of select permissions for Azure Content Delivery Network to Key Vault." border="true":::
172-
173-
6. Select **Add**.
174-
175-
> [!NOTE]
176-
> Azure CDN can now access this key vault and the certificates (secrets) that are stored in this key vault. Any CDN instance created in this subscription will have access to the certificates in this key vault.
115+
Follow the steps in [Configure managed identity for Azure CDN](./cdn-managed-identity.md) to allow Azure CDN to access your Azure Key Vault account.
177116

178117
### Select the certificate for Azure CDN to deploy
179118

0 commit comments

Comments
 (0)