Skip to content

Commit 8534446

Browse files
authored
Update tutorial-secure-web-server.md
1 parent c794695 commit 8534446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-machines/windows/tutorial-secure-web-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: Tutorial - Secure a Windows web server with SSL certificates in Azure | Microsoft Docs
33
description: In this tutorial, you learn how to use Azure PowerShell to secure a Windows virtual machine that runs the IIS web server with SSL certificates stored in Azure Key Vault.
44
services: virtual-machines-windows
@@ -55,7 +55,7 @@ $location = "East US"
5555
New-AzResourceGroup -ResourceGroupName $resourceGroup -Location $location
5656
```
5757

58-
Next, create a Key Vault with [New-​Azure​Rm​Key​Vault](https://docs.microsoft.com/powershell/module/az.keyvault/new-azkeyvault). Each Key Vault requires a unique name, and should be all lower case. Replace `mykeyvault` in the following example with your own unique Key Vault name:
58+
Next, create a Key Vault with [New-AzKeyVault](https://docs.microsoft.com/powershell/module/az.keyvault/new-azkeyvault). Each Key Vault requires a unique name, and should be all lower case. Replace `mykeyvault` in the following example with your own unique Key Vault name:
5959

6060
```azurepowershell-interactive
6161
$keyvaultName="mykeyvault"
@@ -66,7 +66,7 @@ New-AzKeyVault -VaultName $keyvaultName `
6666
```
6767

6868
## Generate a certificate and store in Key Vault
69-
For production use, you should import a valid certificate signed by trusted provider with [Import-​Azure​Key​Vault​Certificate](https://docs.microsoft.com/powershell/module/az.keyvault/import-azkeyvaultcertificate). For this tutorial, the following example shows how you can generate a self-signed certificate with [Add-AzKeyVaultCertificate](https://docs.microsoft.com/powershell/module/az.keyvault/add-azkeyvaultcertificate) that uses the default certificate policy from [New-AzKeyVaultCertificatePolicy](https://docs.microsoft.com/powershell/module/az.keyvault/new-azkeyvaultcertificatepolicy).
69+
For production use, you should import a valid certificate signed by trusted provider with [Import-AzKeyVaultCertificate](https://docs.microsoft.com/powershell/module/az.keyvault/import-azkeyvaultcertificate). For this tutorial, the following example shows how you can generate a self-signed certificate with [Add-AzKeyVaultCertificate](https://docs.microsoft.com/powershell/module/az.keyvault/add-azkeyvaultcertificate) that uses the default certificate policy from [New-AzKeyVaultCertificatePolicy](https://docs.microsoft.com/powershell/module/az.keyvault/new-azkeyvaultcertificatepolicy).
7070

7171
```azurepowershell-interactive
7272
$policy = New-AzKeyVaultCertificatePolicy `

0 commit comments

Comments
 (0)