imixs / imixs-cloud

A Lightweight Kubernetes Environment
https://imixs.github.io/imixs-cloud/
GNU General Public License v3.0
200 stars 82 forks source link

TLS with custom certificates #42

Closed sonisaurabh19 closed 3 years ago

sonisaurabh19 commented 4 years ago

Hi, thanks for this great repo! Can you please provide an example of using custom certificates in place of acme. I have a certfile and keyfile that have worked well for me in setting up TLS for traefik and all services it is routing to in Docker.

rsoika commented 4 years ago

If you have your own certificate you do not need the acme setup for Let's Encrypt. acme is a protocol for automating interactions between your server and a certificate authority to generate and verify certificates like Let's Encrypt .

So you should ignore/remove the acme settings in the 020-deplomyent.yaml file and replace them with the traefik TLS configuration. Find details here.

You need something like this:

- --tls.certificates.certFile=/path/to/domain.cert
- --tls.certificates.keyFile: /path/to/domain.key

But I can't provide you with a full example as I did not have done this before by myself.

But please share your outcome here so we can extend the documentation later for other users.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.