⚙️Configure HTTPS
External traffic
Overview

You have one ingress to secure:
The main entrypoint
nginx(for the example, we assume the addresstoucan.example.com)
This guide assumes you have a DNS entry pointing to the IP address of the Load Balancer where you're running Toucan.
This guide also assume full understanding of TLS and how to configure it.
Parameters
Here's the location of the parameters you need to configure:
Using cert-manager
Configuring the Issuer
Check the official documentation: cert-manager - Issuer Configuration.
Each time you deploy a new Certificate, the solver will try to create a DNS record with the name _acme-challenge.<host>.
Each time you deploy a new Certificate, the solver will try to create an ingress using the ingressClassName you set in the http01 solver.
Be sure to open port 80 on the Load Balancer and firewall so that the ACME server can reach your ingress to fetch the challenge.
If you don't have a CA ready, you can generate one:
If you are using an existing CA, deploy your CA certificate as a Secret:
Now, deploy the issuer:
Using the Issuer
If you are using Gateway API, you should have configured the Gateway. Add a new listener to the gateway and specify the certificate issuer in the annotations:
You can set the parameters as follows:
You can set the parameters as follows:
This will automatically generate a certificate and secret named toucan.example.com-tls, and configure the ingress to use the certificate issued by the Issuer named test-issuer.
Manually
If you have a certificate and private key ready, you can deploy it as a Secret:
If you are using Gateway API, you should have configured the Gateway. Add a new listener to the gateway and specify the certificate issuer in the annotations:
You can set the parameters as follows:
If you have a certificate and private key ready, you can deploy it as a Secret:
You can set the parameters as follows:
Internal traffic
By default, TLS or mTLS is enabled for all services using self-signed certificates.
This configuration is already highly secure, as the self-signed Certificate Authority (CA) remains entirely within the Kubernetes environment and is never exposed externally.
That said, you may choose to use your own Public Key Infrastructure (PKI) to facilitate more flexible and centralized trust management.
Last updated
Was this helpful?