ssl cert store update and self-signed cert support

This commit is contained in:
xcad2k
2021-12-14 18:12:08 +01:00
parent 6c7e6787b1
commit 4e6e48dc52
3 changed files with 31 additions and 36 deletions

View File

@@ -37,36 +37,37 @@ entryPoints:
websecure:
address: :443
# Certificates configuration
# ---
# TODO: Custmoize your Cert Resolvers and Domain settings
#
certificatesResolvers:
# LET'S ENCRYPT:
# ---
#
staging:
acme:
email: your-email@example.com # TODO: Change this to your email
storage: /ssl-certs/acme.json
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
httpChallenge:
entryPoint: web
production:
acme:
email: your-email@example.com # TODO: Change this to your email
storage: /ssl-certs/acme.json
caServer: "https://acme-v02.api.letsencrypt.org/directory"
httpChallenge:
entryPoint: web
# Provider Configuration
# ---
# TODO: Customize your Provider Settings if needed
#
providers:
# DOCKER:
# Configure your CertificateResolver here...
# ---
# certificatesResolvers:
# staging:
# acme:
# email: your-email@example.com
# storage: /etc/traefik/certs/acme.json
# caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
# httpChallenge:
# entryPoint: web
#
# production:
# acme:
# email: your-email@example.com
# storage: /etc/traefik/certs/acme.json
# caServer: "https://acme-v02.api.letsencrypt.org/directory"
# httpChallenge:
# entryPoint: webproviders:
# (Optional) Overwrite Default Certificates
# tls:
# stores:
# default:
# defaultCertificate:
# certFile: /etc/traefik/certs/cert.pem
# keyFile: /etc/traefik/certs/cert-key.pem
providers:
docker:
exposedByDefault: false # Default is true
file:
# watch for dynamic configuration changes
directory: /etc/traefik
watch: true