Skip to content

Commit

Permalink
Review: fix key generation command
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas-b committed May 25, 2023
1 parent 0d138a2 commit 45da972
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/docs/guides/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ To generate a fresh pair of a key and a (self-signed) certificate:

```shell
openssl req -new -subj "/CN=Nessie" -addext "subjectAltName = DNS:nessie.local" \
-newkey rsa:2048 -keyout nessie-key.pem -out nessie.crt -noenc
-newkey rsa:2048 -keyout nessie-key.pem -out nessie.crt -x509 -nodes
```

Note the `-noenc` option. It is used only for the sake of simplicity of this example deployment.
Note the `-nodes` option. It is used only for the sake of simplicity of this example deployment. Also, newer `openssl`
versions deprecated it in favour of `-noenc`.

Add the new certificate to the local set of CA certificates on the client host (where the Nessie clients,
such as Nessie CLI / `curl` / browser, are going to run).
Expand Down

0 comments on commit 45da972

Please sign in to comment.