Skip to content

Commit 67f7f49

Browse files
committed
DOC-5458 RS: Added generate_self_signed_certs.sh options table to create certificates
1 parent 23f44ed commit 67f7f49

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/operate/rs/security/certificates/create-certificates.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ By default, the `generate_self_signed_certs.sh` script is located in `/opt/redis
2222

2323
Here, you learn how to use this script to generate new certificates and how to install them.
2424

25+
### Generate self-signed certs script options
26+
27+
You can run the `generate_self_signed_certs.sh` script with the following options:
28+
29+
| Option | Description |
30+
|----------|-------------|
31+
| `-h`<br />`--help` | Displays usage instructions. (Optional) |
32+
| `-d <days>`<br />`--days <days>` | Number of days the self-signed certificate is valid for. (Optional, default: 365) |
33+
| `-f <names>`<br /><nobr>`--fqdnNames <names>`</nobr> | Space-separated list of [fully qualified domain names (FQDNs)](https://en.wikipedia.org/wiki/Fully_qualified_domain_name). Used for [storage area networks (SANs)](https://en.wikipedia.org/wiki/Storage_area_network). (Required)<br />Example: `-f "redis.example.com redis-1.example.com"` |
34+
| `-t <type>`<br />`--type <type>` | Type of certificate to generate. (Optional, default: all) <br />Values:<br />**cm**: Cluster Manager UI certificate<br />**api**: REST API certificate<br /> **proxy**: database endpoint proxy certificate<br />**syncer**: syncer component certificate<br />**metrics**: metrics exporter certificate<br />**all**: generates all certificate types |
35+
2536
### Step 1: Generate new certificates
2637

2738
Sign in to the machine hosting the cluster's master node and then run the following command:

0 commit comments

Comments
 (0)