You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/rs/references/cli-utilities/rladmin/cluster/certificate.md
+34-15Lines changed: 34 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ categories:
5
5
- docs
6
6
- operate
7
7
- rs
8
-
description: Sets the cluster certificate.
8
+
description: Sets cluster certificates.
9
9
headerRange: '[1-2]'
10
10
linkTitle: certificate
11
11
tags:
@@ -14,17 +14,14 @@ toc: 'true'
14
14
weight: $weight
15
15
---
16
16
17
+
## `cluster certificate set <certificate_name>`
18
+
17
19
Sets a cluster certificate to a specified PEM file.
18
20
19
21
```sh
20
-
rladmin cluster certificate
21
-
set { <certificate_name>| internal }
22
-
[ certificate_file <filepath> ]
22
+
rladmin cluster certificate set<certificate_name>
23
+
certificate_file <filepath>
23
24
[ key_file <filepath> ]
24
-
[ cpine_certificate_file <filepath> ]
25
-
[ cpine_key_file <filepath> ]
26
-
[ dpine_certificate_file <filepath> ]
27
-
[ dpine_key_file <filepath> ]
28
25
```
29
26
30
27
To set a certificate for a specific service, use the corresponding certificate name. See the [certificates table]({{< relref "/operate/rs/security/certificates" >}}) for the list of cluster certificates and their descriptions.
@@ -33,20 +30,15 @@ To set a certificate for a specific service, use the corresponding certificate n
33
30
34
31
| Parameter | Type/Value | Description |
35
32
|-----------|------------|-------------|
36
-
| certificate_name |'cm'<br />'api'<br />'proxy'<br />'syncer'<br />'metrics_exporter'| Name of the certificate to update |
37
-
| internal || Set up internal certificates for data plane internode encryption (DPINE) and control plane internode encryption (CPINE) |
33
+
| certificate_name | 'cm'<br /> 'api'<br /> 'proxy'<br /> 'syncer'<br /> 'metrics_exporter' | Name of the certificate to update. See the [certificates table]({{< relref "/operate/rs/security/certificates" >}}) for descriptions. |
38
34
| certificate_file | filepath | Path to the certificate file |
39
35
| key_file | filepath | Path to the key file (optional) |
40
-
| dpine_certificate_file | filepath | Path to the data plane internode encryption (DPINE) certificate file (internal certificate) |
41
-
| dpine_key_file | filepath | Path to the data plane internode encryption (DPINE) key file (internal certificate) |
42
-
| cpine_certificate_file | filepath | Path to the control plane internode encryption (CPINE) certificate file (internal certificate) |
43
-
| cpine_key_file | filepath | Path to the control plane internode encryption (CPINE) key file (internal certificate) |
44
36
45
37
### Returns
46
38
47
39
Reports that the certificate was set to the specified file. Returns an error message if the certificate fails to update.
| dpine_certificate_file | filepath | Path to the data plane internode encryption (DPINE) certificate file |
68
+
| dpine_key_file | filepath | Path to the data plane internode encryption (DPINE) key file |
69
+
| cpine_certificate_file | filepath | Path to the control plane internode encryption (CPINE) certificate file |
70
+
| cpine_key_file | filepath | Path to the control plane internode encryption (CPINE) key file |
71
+
72
+
### Returns
73
+
74
+
Reports that the internal certificates were set to the specified files. Returns an error message if the certificates fail to update.
75
+
76
+
### Example
77
+
59
78
Set up [customer-provided internode encryption certificates]({{<relref "/operate/rs/security/encryption/internode-encryption#customer-provided-certificates">}}):
0 commit comments