Skip to content

Commit fd1fd68

Browse files
committed
Update docs
Signed-off-by: jflowgh <[email protected]>
1 parent a6b155f commit fd1fd68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/bring-your-own-certificates.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export SECRETNAME="mycustomkeys"
1818
```
1919

2020
## Generate a new RSA key pair (certificates)
21-
21+
* Note to change `-days` option to set certificate expiry date; default is 1 year
2222
```bash
23-
openssl req -x509 -nodes -newkey rsa:4096 -keyout "$PRIVATEKEY" -out "$PUBLICKEY" -subj "/CN=sealed-secret/O=sealed-secret"
23+
openssl req -x509 -days 365 -nodes -newkey rsa:4096 -keyout "$PRIVATEKEY" -out "$PUBLICKEY" -subj "/CN=sealed-secret/O=sealed-secret"
2424
```
2525

2626
## Create a tls k8s secret, using your recently created RSA key pair

0 commit comments

Comments
 (0)