Skip to content

Commit 7c6f301

Browse files
authored
lab3 and 5 readme files (#52)
* minor readme edits
1 parent 299b975 commit 7c6f301

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

labs/lab3/readme.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Another nice feature of the NGINX One Console is the ability to quickly see the
167167

168168
1. Using the Overview Dashboard Certificates Panel, Click on the `Expiring` link. This will provide a List View of the Instances affected, with metadata about the Instances using the Certificate.
169169

170-
1. Click on the `$NAME-oss1` Instance. This will provide the Instance level Details, you will see a `Certificates` Section, this time with the Name, Status, Expiration Date, and Subject Name for each certificate file.
170+
1. Click on the `$NAME-oss1` Instance. This will provide the Instance level Details. You will see a `Certificates` Section, switch to `Unmanaged` tab. This will list the Name, Status, Expiration Date, and Subject Name for each certificate file associated to `$NAME-oss1` Instance.
171171

172172
![Certs](media/lab3_oss1-certs.png)
173173

@@ -181,24 +181,25 @@ Another nice feature of the NGINX One Console is the ability to quickly see the
181181

182182
Fix the Expired Certificate! If you want to create a new certificate, say with a 91-day expiration, follow these instructions to use `openssl` to create a Self-Signed certificate/key pair, and update your NGINX config files to use the new Certficate.
183183

184-
1. Change your Terminal to the appropriate directory, in this exercise, that would be `labs/lab2/nginx-oss/etc/ssl/nginx`.
185-
186184
1. Create a new `$NAME-91-day` SSL certificate/key pair:
187185

186+
(**NOTE:** Make sure you are within `labs/lab2` folder before running the command)
187+
188188
```bash
189-
openssl req -x509 -nodes -days 91 -newkey rsa:2048 -keyout $NAME-91-day.key -out $NAME-91-day.crt -subj "/CN=NginxOneWorkshop"
189+
openssl req -x509 -nodes -days 91 -newkey rsa:2048 -keyout nginx-oss/etc/ssl/nginx/$NAME-91-day.key -out nginx-oss/etc/ssl/nginx/$NAME-91-day.crt -subj "/CN=NginxOneWorkshop"
190190

191191
```
192192

193193
1. Verify the .crt and .key files were created, in the correct volume mounted folder:
194194

195195
```bash
196-
ls -l
196+
ls -l nginx-oss/etc/ssl/nginx
197197
198198
```
199+
199200
```bash
200201
## Sample output ##
201-
ubuntu@NGINX-Basics:~/Documents/nginx-one-workshops/labs/lab2/nginx-oss/etc/ssl/nginx$ ls -l
202+
ubuntu@NGINX-Basics:~/Documents/nginx-one-workshops/labs/lab2$ ls -l nginx-oss/etc/ssl/nginx
202203
total 32
203204
-rw-rw-r-- 1 ubuntu ubuntu 1131 Mar 19 22:07 1-day.crt
204205
-rw------- 1 ubuntu ubuntu 1704 Mar 19 22:07 1-day.key

labs/lab5/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Don't forget to remove your unused instances from the NGINX One Console.
165165
166166
## Confirm you have an R32 Instance
167167
168-
You will now start the process of upgrading a standalone web server. Confirm taht you have this instance by issuing the following commands:
168+
You will now start the process of upgrading a standalone web server. Confirm that you have this instance by issuing the following commands:
169169
170170
1. SSH to the web server:
171171
```bash

0 commit comments

Comments
 (0)