Prerequisite
- Have an existing trusted certificate and corresponding private keys.
- Your business does not require to replace the certificates frequently or renewing the certificates automatically.
Note:
- If you upload and replace EonKube's self-signed certificate, you will not be able to manage and renew the certificate through cert-manager. You need to manage the certificate manually.
- If your certificates need to be renewed regularly, this approach will increase the workload of manual management.
Procedure
- Upload the certificate to create a Secret:
- Go to EonKube > User > Advanced > Storage > Secrets.
- Click Create.
- Select TLS Certificate.
- Choose a namespace and specify an identifying name for this Secret.
- At the bottom of Certificate, click Read for File.
- Select the certificate file from your computer and click Open.
- Click Create.
- Replace the EonKube self-signed certificate:
- Go to the cattle-system namespace. On the left pane, Service Discovery > Ingresses. Find the Secret that you just created.
- Click ⋮ and select Edit YAML.
- Delete the following annotations:
cert-manager.io/issuer: rancher cert-manager.io/issuer-kind: Issuer
- Find the
tlsfield. Enter the host name and the secret name. - Save the settings.