Skip to content

Commit

Permalink
fix command to create SSL certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
jscyo committed Oct 11, 2023
1 parent 287104b commit 41e1c96
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We are going to be using a self signed certificates since we are developing loca
- Run the following command to generate a self signed certificate using OpenSSL:

```bash
openssl req -x509 -nodes newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt
```

- You can set the values `ssl_certificate` and `ssl_certificate_key` in the NGINX config to specify the locations of the newly generated certificates.
Expand Down

0 comments on commit 41e1c96

Please sign in to comment.