Skip to content

Commit 34e4a97

Browse files
authored
Merge pull request #85274 from simonkurtz-MSFT/master
Update self-signed-certificates.md
2 parents e229903 + 1c7bd9e commit 34e4a97

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/application-gateway/self-signed-certificates.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,23 @@ Create your root CA certificate using OpenSSL.
5353

5454
### Create a Root Certificate and self-sign it
5555

56-
1. Use the following commands to generate the csr and the certificate.
56+
1. Use the following command to generate the Certificate Signing Request (CSR).
5757

5858
```
5959
openssl req -new -sha256 -key contoso.key -out contoso.csr
6060
```
61-
62-
```
63-
openssl x509 -req -sha256 -days 365 -in contoso.csr -signkey contoso.key -out contoso.crt
64-
```
65-
The previous commands create the root certificate. You'll use this to sign your server certificate.
6661

6762
1. When prompted, type the password for the root key, and the organizational information for the custom CA such as Country/Region, State, Org, OU, and the fully qualified domain name (this is the domain of the issuer).
6863

6964
![create root certificate](media/self-signed-certificates/root-cert.png)
7065

66+
1. Use the following command to generate the Root Certificate.
67+
68+
```
69+
openssl x509 -req -sha256 -days 365 -in contoso.csr -signkey contoso.key -out contoso.crt
70+
```
71+
The previous commands create the root certificate. You'll use this to sign your server certificate.
72+
7173
## Create a server certificate
7274

7375
Next, you'll create a server certificate using OpenSSL.

0 commit comments

Comments
 (0)