Provide Certificates
There are two ways to provide user-defined TLS certificates to Traefik Hub API Gateway in Kubernetes:
- From an IngressRoute (or Ingress)
- From a certificates store.
To create a TLS Secret, please refer to the official Kubernetes documentation.
Attach a TLS Certificate to an IngressRoute
You can provide a TLS certificate to Traefik Hub API Gateway using the tls
option in an IngressRoute.
The secret that contains the TLS certificate must belong to same namespace as the IngressRoute.
As explained here, it does not mean that the certificate is only attached to this IngressRoute. It can be served when another route, with the same host name, is reached through Hub API Gateway.
- IngressRoute
- TLS Certificate
- Service & Deployment
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: my-tls-route
namespace: apps
spec:
entryPoints:
- websecure
routes:
- match: Host(`whoami.localhost`)
kind: Rule
services:
- name: whoami
port: 80
tls:
secretName: secret-tls
apiVersion: v1
kind: Secret
metadata:
name: secret-tls
namespace: apps
type: kubernetes.io/tls
data:
# Self-signed certificate for the whoami.localhost domain.
tls.crt: |
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZWakNDQXo2Z0F3SUJBZ0lVZUUrZG94aTUrMTBMVi9DaUdTMkt2Q1dJR1dZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1JERUxNQWtHQTFVRUJoTUNSbEl4RFRBTEJnTlZCQWNNQkV4NWIyNHhGVEFUQmdOVkJBb01ERlJ5WVdWbQphV3NnVEdGaWN6RVBNQTBHQTFVRUF3d0dWMmh2WVcxcE1DQVhEVEkwTURjeE1ERTFNRGt3TjFvWUR6SXhNalF3Ck5qRTJNVFV3T1RBM1dqQkVNUXN3Q1FZRFZRUUdFd0pHVWpFTk1Bc0dBMVVFQnd3RVRIbHZiakVWTUJNR0ExVUUKQ2d3TVZISmhaV1pwYXlCTVlXSnpNUTh3RFFZRFZRUUREQVpYYUc5aGJXa3dnZ0lpTUEwR0NTcUdTSWIzRFFFQgpBUVVBQTRJQ0R3QXdnZ0lLQW9JQ0FRQ1pNNm1WNUJkV2V0QzZtdnp0YVBobFNjZ0ljbnd6Z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g==
kind: Deployment
apiVersion: apps/v1
metadata:
name: whoami
namespace: apps
spec:
replicas: 3
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami
---
apiVersion: v1
kind: Service
metadata:
name: whoami
namespace: apps
spec:
ports:
- port: 80
name: whoami
selector:
app: whoami
Attach TLS certificates to a certificate store
You can provide TLS certificates to Traefik Hub API Gateway using a TLSStore. The secrets that contains the TLS certificates must belong to same namespace as the TLSStore.
The TLSStore must be named default
, and it must belong to the namespace as Traefik Hub API Gateway.
Any store definition other than the default one (named default
) will be ignored,
and there is therefore only one globally available TLS store.
You can override the self-signed certificates provided by default by Traefik Hub API Gateway using the options defaultCertificate
or the defaultGeneratedCert
.
See the dedicated documentation for more information.
- TLSStore
- IngressRoute
- TLS Certificate #1
- TLS Certificate #2
- Default TLS Certificate
- Service & Deployment
apiVersion: traefik.io/v1alpha1
kind: TLSStore
metadata:
name: default # Only the store with the name default is taken into account
namespace: traefik
spec:
certificates:
- secretName: secret-tls-01
- secretName: secret-tls-02
defaultCertificate:
secretName: secret-tls-default
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: secure-applications-apigateway-oauth2-client-credentials
namespace: apps
spec:
entryPoints:
- websecure
routes:
- match: Host(`whoami.localhost`) || Host(`whoami02.localhost`) || Host(`whoami-default.localhost`)
kind: Rule
services:
- name: whoami
port: 80
apiVersion: v1
kind: Secret
metadata:
name: secret-tls-01
namespace: traefik
type: kubernetes.io/tls
data:
# Self-signed certificate for the whoami.localhost domain.
tls.crt: |
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZWakNDQXo2Z0F3SUJBZ0lVWHEyUFUvNWtidkNSaThBd0pHR3VXa3dHcnFVd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1JERUxNQWtHQTFVRUJoTUNSbEl4RFRBTEJnTlZCQWNNQkV4NWIyNHhGVEFUQmdOVkJBb01ERlJ5WVdWbQphV3Nn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KbGFrUElMYjZIV3prSVIzdDdXN0V0aG01dU9Dak53OGV4RElLZVNaWEphREpUOTJ1MGJZTm94clB0UmF4VEFqKwpIUnJqeWwzUXU1bGpKUWJidnA4VjB0em1udkNwMmNmczZnZGxoY0FuN2RDWG5GQW04R0liUUtnalNzaTRpTUNaCjljNDhzTExOdXA4N0Fwb3A3SFFZOGduN0E0NGxEYnJLdzJ0UFhuLy9FRGFCWmFFT2JmdXR6S2ZNYjFwWDRoTmQKR3RoR3Y5eTB6UFNBY3JNMjIvbkdTR1djTm5JYgotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==
apiVersion: v1
kind: Secret
metadata:
name: secret-tls-02
namespace: traefik
type: kubernetes.io/tls
data:
# Self-signed certificate for the whoami02.localhost domain.
tls.crt: |
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZXRENDQTBDZ0F3SUJBZ0lVTGhPSWl6Mm5CYndYQ1R2TllLVHNaRFZ0M1VVd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1JERUxNQWtHQTFVRUJoTUNSbEl4RFRBTEJnTlZCQWNNQkV4NWIyNHhGVEFUQmdOVkJBb01ERlJ5WVdWbQphV3NnVEdGaWN6RVBNQTBHQTFVRUF3d0dWMmh2WVcxcE1DQVhEVEkwTURjeE9EQTNORGd6TmxvWUR6SXhNalF3Ck5qSTBNRGMwT0RNMldqQkVNUXN3Q1FZRFZRUUdFd0pHVWpFTk1Bc0dBMVVFQnd3RVRIbHZiakVWTUJNR0ExVUUKQ2d3TVZISmhaV1pwYXlCTVlXSnpNUTh3RFFZRFZRUUREQVpYYUc5aGJXa3dnZ0lpTUEwR0NTcUdTSWIzRFFFQgpBUVVBQTRJQ0R3QXdnZ0lLQW9JQ0FRQ2tmNkg4NTJmTEZtV1hVMXp6bDVrZFFrNW5QOEpadFpjemYwWjBHMENVCkpsS2VDWlhlUkYzekxmNDQ5ZDMrWTBwbFhZbjBwZ2lOZ3huYXBJTVBpV2lyL1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XV0V2ZoUUYyV3RiQ3pNVUlFCm9ySzlQS2hmMTkxOFBPTTluRDVkcTQ1WUdoTlpKazVhanpkMm5lWExvZ0dnellOTGMvdzdLd0kwUkpoeWs3R3cKb3h5MkxaRC83MVlvN0JWQXpHbFNDRERkU1dGMUZHZWtzQUJwdytsQkRHcEFIeHAwa0dVM0ZGSS92NXBpWHdQTAprV3JVMHFhWU0ycHBEZklOV0hablcxdWVZcEkxYnZ3OEtzWTA3NFd6VG0yOVp5ZFBSWjJDb0xEWlJIVnI3WlVrCjJ6N3U1WXdCUysxM3JKb1hpU3B2b3BqK0d3K29nN2ozL3B6YVhjeWEzKzBRcys0VUo3ZWlCSlVEOG10Wm1mdDUKOEw2WkF3RXlacll1WVJRa0pjeU1MdGRKbFZJTFp1WkNwSk85UVM3dnFtQjYrRjlnT1J3UGVqSnhMQmt3d1lpNgp0SWNDZ2dFQWZUOEkxbENlK3lMMmtGc29vRi9kQml3bkNybkVuSXErQlJOR1hvMTJhMHZNQ1RKelRTQXZkYzAzCnlCVkNsVTl2bnFwaVRybXlKTHJvZkhMSDNkTDQyYndDNkpsS0d2QjMxcHNmUndWMFBaeTRBN0gwTjZHc0phVmUKeWtqT2Z5bU5vZzZRT0thQ2lFNGZ4alNHVGlhZXo1MmUzTWgwRWpzNUZtZkZCSU9UTWlXWWxSNEpwWnhzb0t1bQpRaTI2bzBySXlxMUVvdVFxdnViczIrY3VPZmhFK0lLUmFGRFc3ZGhnSnROamFDV09TMGRnc2RZeGgxUWpRQjhICkk2Zm9rK05wK2lOSE0zVGRNV00yRlNlM0ZORzdvL3ZHRWhhN2VmSlJITythZ1Vad29oQysyWC9oaFlkODN1VzIKOTNuRXpSVXJEeVE0RDhOV0ZmRXZoNTZzVzFVRnhnPT0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo=
apiVersion: v1
kind: Secret
metadata:
name: secret-tls-default
namespace: traefik
type: kubernetes.io/tls
data:
# Self-signed certificate for the whoami-default.localhost domain.
tls.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Dl1cElaQVdoNSt3bXh2WHUrRnRPZnJyUWIvNUh0MndSOU5NK0FWRFJ4cDI5bkEwOUVMZEt0dwpsN3FIQW9JQkFDUDVjK2JiOXY2bm1GZ1piTHVveDdCUmZSb25MZkFJNDJWSlZZZlU3cnl0ZmpXUG5rSmRlTm55CiszQTRaMmZLMjg4b3F6cGtZalJNUjZpcC84akNjTHNEWjQ4OXdaMThkdllmakRlQXVZanB0dVl3NGFxMjNzRmQKdm5HaUhhc1NCTDZ1ditDY3YwOEJnOHFuVFlmSURxOEVkanRJdjFtaXJQYmRDRE50WnYzcVhMelBFS0xRWmpDNQp1V2Z3Y1RSQjNaTzVGbzZXY1BMSm1OL09yblBHOEpvVGVqR1R0Qm5ibnV2UkhSSjN6OG1WbWNoNXllbnkzMU13CmlZZ0pNaEJUKzBLU1pvaWc5V1V3K3lnRU1pZTV2Q2pqREhVZkxUbXB4NlNRMms3cXJnNTlUMVkzeFBDeG1mQnQKMXNjQitkeWloaFN2SGRUL05tdlZaNjd1MlFCdnRqUT0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo=
kind: Deployment
apiVersion: apps/v1
metadata:
name: whoami
namespace: apps
spec:
replicas: 3
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami
---
apiVersion: v1
kind: Service
metadata:
name: whoami
namespace: apps
spec:
ports:
- port: 80
name: whoami
selector:
app: whoami
Related Content
- Learn more about the Kubernetes
TLSStore
object in the dedicated section. - Learn more about the Kubernetes
TLSOption
object in the dedicated section. - See how to secure your API generating a Let's Encrypt TLS certificate.