How to Use Self-Signed Certificates with Ingress in a K3D Cluster?

0
1
Asked By TechyTurtle42 On

Hey everyone! I recently set up my own certificate authority for SSL on some internal services, including one running on a K3D cluster with Traefik. I learned that I need to establish a server transport and set `insecureSkipVerify` to true, which I found examples for, but I'm struggling to find a working example that shows how to configure this with an ingress. Also, I got a 404 error when testing the path with SSL enabled, even though it works fine without SSL. What can I do to solve this?

1 Answer

Answered By DevGuru99 On

It's crucial to remember that the ingress doesn't need to trust the certificate when presenting it to incoming connections. Instead of using `insecureSkipVerify`, consider adding your self-signed certificate properly according to the official Kubernetes documentation. This will help maintain security while managing SSL connections more effectively.

CloudNinja88 -

Totally agree! The ingress API is actually in feature freeze, so it's better to transition to the Gateway API for more robust features.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.