mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 04:28:15 +00:00
Remove base64 references for single install
This commit is contained in:
committed by
Denise
parent
0a2d06ed84
commit
aa0f6b65b3
@@ -355,4 +355,4 @@ You have a couple of options:
|
||||
|
||||
## FAQ and Troubleshooting
|
||||
|
||||
{{< ssl_faq >}}
|
||||
{{< ssl_faq_ha >}}
|
||||
|
||||
@@ -454,4 +454,4 @@ You have a couple of options:
|
||||
|
||||
## FAQ and Troubleshooting
|
||||
|
||||
{{< ssl_faq >}}
|
||||
{{< ssl_faq_ha >}}
|
||||
|
||||
@@ -82,7 +82,6 @@ If you elect to use a self-signed certificate to encrypt communication, you must
|
||||
>Create a self-signed certificate.
|
||||
>
|
||||
>- The certificate files must be in [PEM format](#ssl-faq-troubleshooting).
|
||||
>- The certificate files must be in base64.
|
||||
|
||||
**To Install Rancher Using a Self-Signed Cert:**
|
||||
|
||||
@@ -102,7 +101,6 @@ If your cluster is public facing, it's best to use a certificate signed by a rec
|
||||
>**Prerequisites:**
|
||||
>
|
||||
>- The certificate files must be in [PEM format](#pem).
|
||||
>- The certificate files must be encoded in [base64](#base64).
|
||||
|
||||
**To Install Rancher Using a Cert Signed by a Recognized CA:**
|
||||
|
||||
@@ -204,7 +202,7 @@ You have a couple of options:
|
||||
|
||||
## FAQ and Troubleshooting
|
||||
|
||||
{{< ssl_faq >}}
|
||||
{{< ssl_faq_single >}}
|
||||
|
||||
## Persistent Data
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ Your Rancher install can use a self-signed certificate that you provide to encry
|
||||
>Create a self-signed certificate.
|
||||
>
|
||||
>- The certificate files must be in [PEM format](#pem).
|
||||
>- The certificate files must be encoded in [base64](#base64).
|
||||
>- In your certificate file, include all intermediate certificates in the chain. Order your certificates with your certificate first, followed by the intermediates. For an example, see [SSL FAQ / Troubleshooting](#cert-order).
|
||||
|
||||
|
||||
@@ -118,7 +117,6 @@ If you're publishing your app publicly, you should ideally be using a certificat
|
||||
>**Prerequisites:**
|
||||
>
|
||||
>- The certificate files must be in [PEM format](#pem).
|
||||
>- The certificate files must be encoded in [base64](#base64).
|
||||
>- Make sure that the container includes your certificate file and the key file. Because your certificate is signed by a recognized CA, mounting an additional CA certificate file is unnecessary.
|
||||
|
||||
**To Install Rancher Using a Certificate Signed by a Recognized CA:**
|
||||
@@ -180,7 +178,7 @@ You have a couple of options:
|
||||
|
||||
## FAQ and Troubleshooting
|
||||
|
||||
{{< ssl_faq >}}
|
||||
{{< ssl_faq_single >}}
|
||||
|
||||
## Persistent Data
|
||||
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
<h3 id="pem">How Do I Know if My Certificates are in PEM Format?</h3>
|
||||
|
||||
<p>You can recognize the PEM format by the following traits:</p>
|
||||
<ul>
|
||||
<li>The file begins with the following header:<br/> <code>-----BEGIN CERTIFICATE-----</code></li>
|
||||
<li>The header is followed by a long string of characters. Like, really long.</li>
|
||||
<li>The file ends with a footer:<br/> <code>-----END CERTIFICATE-----</code></li>
|
||||
</ul>
|
||||
|
||||
<p><strong>PEM Certificate Example:</strong></p>
|
||||
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
----BEGIN CERTIFICATE-----
|
||||
MIIGVDCCBDygAwIBAgIJAMiIrEm29kRLMA0GCSqGSIb3DQEBCwUAMHkxCzAJBgNV
|
||||
... more lines
|
||||
VWQqljhfacYPgp8KJUJENQ9h5hZ2nSCrI+W00Jcw4QcEdCI8HL5wmg==
|
||||
-----END CERTIFICATE-----
|
||||
</pre>
|
||||
|
||||
<h3 id="cert-order">What is the Order of Certificates if I Want to Add My Intermediate(s)?</h3>
|
||||
|
||||
<p>The order of adding certificates is as follows:</p>
|
||||
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
-----BEGIN CERTIFICATE-----
|
||||
%YOUR_CERTIFICATE%
|
||||
-----END CERTIFICATE-----
|
||||
-----BEGIN CERTIFICATE-----
|
||||
%YOUR_INTERMEDIATE_CERTIFICATE%
|
||||
-----END CERTIFICATE-----
|
||||
</pre>
|
||||
|
||||
<h3 id="validate-cert-chain">How Do I Validate My Vertificate Chain?</h3>
|
||||
|
||||
<p>You can validate the certificate chain by using the <code>openssl</code> binary. If the output of the command (see the command example below) ends with <code>Verify return code: 0 (ok)</code>, your certificate chain is valid. The <code>ca.pem</code> file must be the same as you added to the <code>rancher/rancher</code> container. When using a certificate signed by a recognized Certificate Authority, you can omit the <code>-CAfile</code> parameter.</p>
|
||||
|
||||
<p><strong>Command</strong></p>
|
||||
<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
|
||||
openssl s_client -CAfile ca.pem -connect rancher.yourdomain.com:443
|
||||
...
|
||||
Verify return code: 0 (ok)
|
||||
</pre>
|
||||
Reference in New Issue
Block a user