Skip to content

Commit cceec12

Browse files
Merge pull request #209455 from mattmcinnes/patch-9
Update tutorial-secure-web-server.md
2 parents 6dbf625 + 722d1f7 commit cceec12

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: "Tutorial: Secure a web server with TLS/SSL certificates"
33
description: In this tutorial, you learn how to use the Azure CLI to secure a Linux virtual machine that runs the NGINX web server with SSL certificates stored in Azure Key Vault.
4-
author: cynthn
4+
author: mattmcinnes
55
ms.service: virtual-machines
66
ms.collection: linux
77
ms.topic: tutorial
8-
ms.date: 04/20/2021
9-
ms.author: cynthn
10-
ms.custom: mvc, devx-track-azurecli
8+
ms.date: 12/9/2022
9+
ms.author: mattmcinnes
10+
ms.custom: mvc, devx-track-azurecli, GGAL-freshness822
1111

1212
#Customer intent: As an IT administrator or developer, I want to learn how to secure a web server with TLS/SSL certificates so that I can protect my customer data on web applications that I build and run.
1313
---
@@ -27,13 +27,13 @@ To secure web servers, a Transport Layer Security (TLS), previously known as Sec
2727
2828
This tutorial uses the CLI within the [Azure Cloud Shell](../../cloud-shell/overview.md), which is constantly updated to the latest version. To open the Cloud Shell, select **Try it** from the top of any code block.
2929

30-
If you choose to install and use the CLI locally, this tutorial requires that you are running the Azure CLI version 2.0.30 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
30+
If you choose to install and use the CLI locally, this tutorial requires that you're running the Azure CLI version 2.0.30 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
3131

3232

3333
## Overview
3434
Azure Key Vault safeguards cryptographic keys and secrets, such as certificates or passwords. Key Vault helps streamline the certificate management process and enables you to maintain control of keys that access those certificates. You can create a self-signed certificate inside Key Vault, or upload an existing, trusted certificate that you already own.
3535

36-
Rather than using a custom VM image that includes certificates baked-in, you inject certificates into a running VM. This process ensures that the most up-to-date certificates are installed on a web server during deployment. If you renew or replace a certificate, you don't also have to create a new custom VM image. The latest certificates are automatically injected as you create additional VMs. During the whole process, the certificates never leave the Azure platform or are exposed in a script, command-line history, or template.
36+
Rather than using a custom VM image that includes certificates baked-in, you inject certificates into a running VM. This process ensures that the most up-to-date certificates are installed on a web server during deployment. If you renew or replace a certificate, you don't also have to create a new custom VM image. The latest certificates are automatically injected as you create more VMs. During the whole process, the certificates never leave the Azure platform or are exposed in a script, command-line history, or template.
3737

3838

3939
## Create an Azure Key Vault
@@ -75,7 +75,7 @@ vm_secret=$(az vm secret format --secrets "$secret" -g myResourceGroupSecureWeb
7575
```
7676

7777
### Create a cloud-init config to secure NGINX
78-
[Cloud-init](https://cloudinit.readthedocs.io) is a widely used approach to customize a Linux VM as it boots for the first time. You can use cloud-init to install packages and write files, or to configure users and security. As cloud-init runs during the initial boot process, there are no additional steps or required agents to apply your configuration.
78+
[Cloud-init](https://cloudinit.readthedocs.io) is a widely used approach to customize a Linux VM as it boots for the first time. You can use cloud-init to install packages and write files, or to configure users and security. As cloud-init runs during the initial boot process, there are no extra steps or required agents to apply your configuration.
7979

8080
When you create a VM, certificates and keys are stored in the protected */var/lib/waagent/* directory. To automate adding the certificate to the VM and configuring the web server, use cloud-init. In this example, you install and configure the NGINX web server. You can use the same process to install and configure Apache.
8181

@@ -152,4 +152,4 @@ In this tutorial, you secured an NGINX web server with a TLS/SSL certificate sto
152152
Follow this link to see pre-built virtual machine script samples.
153153

154154
> [!div class="nextstepaction"]
155-
> [Linux virtual machine script samples](https://github.com/Azure-Samples/azure-cli-samples/tree/master/virtual-machine)
155+
> [Linux virtual machine script samples](https://github.com/Azure-Samples/azure-cli-samples/tree/master/virtual-machine)

0 commit comments

Comments
 (0)