mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 21:18:04 +00:00
Merge pull request #1495 from celidon/patch-4
Update add-tls-secrets.md
This commit is contained in:
@@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
@@ -46,4 +46,4 @@ The configured `tls-ca` secret is retrieved when Rancher starts. On a running Ra
|
|||||||
|
|
||||||
## Updating a Private CA Certificate
|
## Updating a Private CA Certificate
|
||||||
|
|
||||||
Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
|
Follow the steps on [this page](update-rancher-certificate.md) to update the SSL certificate of the ingress in a Rancher [high availability Kubernetes installation](../install-upgrade-on-a-kubernetes-cluster/install-upgrade-on-a-kubernetes-cluster.md) or to switch from the default self-signed certificate to a custom certificate.
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ kubectl -n cattle-system create secret tls tls-rancher-ingress \
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
|
> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
|
> **Note:** The configured `tls-ca` secret is retrieved when Rancher starts. On a running Rancher installation the updated CA will take effect after new Rancher pods are started.
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ Create a file named `cacerts.pem` that only contains the root CA certificate or
|
|||||||
|
|
||||||
```
|
```
|
||||||
kubectl -n cattle-system create secret generic tls-ca \
|
kubectl -n cattle-system create secret generic tls-ca \
|
||||||
--from-file=cacerts.pem=./cacerts.pem
|
--from-file=cacerts.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
:::note
|
:::note
|
||||||
|
|||||||
Reference in New Issue
Block a user