TLS Certificates Store
In Traefik Hub API Gateway, certificates are grouped together in certificates stores.
Note that, any store definition other than the default one (named default
) will be ignored,
and there is therefore only one globally available TLS store.
Configuration Example
- TLSStore
- TLS Certificate #1
- TLS Certificate #2
- Static configuration
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
defaultGeneratedCert:
# Use the certificate resolver myresolver (defined in the static configuration) to generate the default certificate
resolver: myresolver
domain:
main: whoami-default.localhost
sans:
- \*.whoami-default.localhost
Domain: whoami.localhost
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: |
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUZWakNDQXo2Z0F3SUJBZ0lVWHEyUFUvNWtidkNSaThBd0pHR3VXa3dHcnFVd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1JERUxNQWtHQTFVRUJoTUNSbEl4RFRBTEJnTlZCQWNNQkV4NWIyNHhGVEFUQmdOVkJBb01ERlJ5WVdWbQphV3NnVEdGaWN6RVBNQTBHQTFVRUF3d0dWMmh2WVcxcE1DQVhEVEkwTURjeE9EQTNNVFV5TUZvWUR6SXhNalF3Ck5qSTBNRGN4TlRJd1dqQkVNUXN3Q1FZRFZRUUdFd0pHVWpFTk1Bc0dBMVVFQnd3RVRIbHZiakVWTUJNR0ExVUUKQ2d3TVZISmhaV1pwYXlCTVlXSnpNUTh3RFFZRFZRUUREQVpYYUc5aGJXa3dnZ0lpTUEwR0NTcUdTSWIzRFFFQgpBUVVBQTRJQ0R3QXdnZ0lLQW9JQ0FRQzgwcVlLcmc3OHNmWENBUFd6b3NTbjBhVlFaSW5WWTFGU2UrbXhOb3RuClV4YU5BUWNPc0RocU5SNi9lWWdoNjI2Mnl2QkxJa0t5dFlSMHJ4QlpzK3FFWndudTZ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2dFQU02b25VeFFKaUlCNFZJUXY3cEl0CmViNEQ5cmt1VnMyaFROMmVnOXBOanFjUDc4dUt3MnRuL05PK05USHdGRTZsV3dWdDhpb1ZJaDVKMm40STRjK3cKem81SVZhd3N4ZC9iYkVTZ0NSaFU1REZQNytFUXdVZjZzcDdxQnpTbjRvNHNhMEhiQWZkdW03NHB1NGtEMHlwbApjMlNyWUVrclpiNVluQ1hGMER5eElzb0tVUWhoV2xnTU52NUtiTEJPSTIrNXZ1SjlmQTQxMy9KbllKWXBMVUxxCkVLUHdKNmtVTFY2SHEreHAzZTh0Ym5XNTBRWnVwZ1hEUWhGRXVuL21FaWllVEFCcWMwUmhjZ0ZTQXEzbFZKL1YKcm94YlBCVjRjbHlpQlRQUC9rTDFwUTRhOVhvWjl0UlYxaFdQcG9Hb1RlZC9UYUJhSmVtejZUc0NqVE5OZ216MgowUUtDQVFBWStIbWJaOVQxQUd6STlaeHptaGFXaDJHSXhaR3RyK2dqUVlMd0J4eGhNRzZ4ZmlNZ1RIL014cm1LCmpMYys2VGRHOHpoTWl4T0p1bFZSYUVOSUZ6Qk1YWFNJcVlSYzlqYmJvZlZWMlVCazVxWStsb1ZqRzJjS1RweU0KbGFrUElMYjZIV3prSVIzdDdXN0V0aG01dU9Dak53OGV4RElLZVNaWEphREpUOTJ1MGJZTm94clB0UmF4VEFqKwpIUnJqeWwzUXU1bGpKUWJidnA4VjB0em1udkNwMmNmczZnZGxoY0FuN2RDWG5GQW04R0liUUtnalNzaTRpTUNaCjljNDhzTExOdXA4N0Fwb3A3SFFZOGduN0E0NGxEYnJLdzJ0UFhuLy9FRGFCWmFFT2JmdXR6S2ZNYjFwWDRoTmQKR3RoR3Y5eTB6UFNBY3JNMjIvbkdTR1djTm5JYgotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg==
Domain: whoami02.localhost
apiVersion: v1
kind: Secret
metadata:
name: secret-tls-02
namespace: traefik
type: kubernetes.io/tls
data:
# Self-signed certificate for the whoami02.localhost dom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FZJTFp1WkNwSk85UVM3dnFtQjYrRjlnT1J3UGVqSnhMQmt3d1lpNgp0SWNDZ2dFQWZUOEkxbENlK3lMMmtGc29vRi9kQml3bkNybkVuSXErQlJOR1hvMTJhMHZNQ1RKelRTQXZkYzAzCnlCVkNsVTl2bnFwaVRybXlKTHJvZkhMSDNkTDQyYndDNkpsS0d2QjMxcHNmUndWMFBaeTRBN0gwTjZHc0phVmUKeWtqT2Z5bU5vZzZRT0thQ2lFNGZ4alNHVGlhZXo1MmUzTWgwRWpzNUZtZkZCSU9UTWlXWWxSNEpwWnhzb0t1bQpRaTI2bzBySXlxMUVvdVFxdnViczIrY3VPZmhFK0lLUmFGRFc3ZGhnSnROamFDV09TMGRnc2RZeGgxUWpRQjhICkk2Zm9rK05wK2lOSE0zVGRNV00yRlNlM0ZORzdvL3ZHRWhhN2VmSlJITythZ1Vad29oQysyWC9oaFlkODN1VzIKOTNuRXpSVXJEeVE0RDhOV0ZmRXZoNTZzVzFVRnhnPT0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo=
YAML
certificatesResolvers:
myresolver:
distributedAcme:
email: "[email protected]"
storage:
kubernetes: {}
httpChallenge:
entryPoint: "web"
Configuration Options
Field | Description | Default | Required |
---|---|---|---|
name | Name of the TLS Store. Only the default store name is taken into account yet. | True | |
certificates | List of Kubernetes Secrets, each of them holding a key/certificate pair to add to the store. List item format: secretName: $secret_name | False | |
defaultCertificate.secretName | Kubernetes Secret served for connections without a SNI, or without a matching domain. If no default certificate is provided, Traefik will use the generated one. Do not use if the option defaultGeneratedCert is set. | False | |
defaultGeneratedCert.resolver | Name of the ACME resolver to use to generate the default certificate. Do not use if the option defaultCertificate is set. | False | |
defaultGeneratedCert.domain.main | Main domain used to generate the default certificate. Do not use if the option defaultCertificate is set. | False | |
defaultGeneratedCert.domain.sans | List of Subject Alternative Name used to generate the default certificate. Do not use if the option defaultCertificate is set. | False |
DefaultCertificate vs DefaultGeneratedCert
If both defaultCertificate
and defaultGeneratedCert
are set, the TLS certificate contained in defaultCertificate.secretName
is served.
The ACME default certificate is not generated.