i am trying to use my own ssl certificate to configure TLS on traefik. in the logs i can see that
{"level":"debug","msg":"Adding certificate for domain(s) example.org","time":"2023-07-24T02:21:40Z"}
however, when i try to hit https://example.org, it says that the website does not have a certificate even though the logs show otherwise. i am not sure how else to debug this issue and any help would be greatly appreciated.
here is my tls.toml dynamic config file
[tls]
[[tls.certificates]]
certFile = "/path/webserver_cert.crt"
keyFile = "/path/webserver_cert.key"
stores = ["default"]
[tls.stores]
[tls.stores.default]
[tls.stores.default.defaultCertificate]
certFile = "/path/webserver_cert.crt"
keyFile = "/path/webserver_cert.key"
[tls.options]
[tls.options.default]
[tls.options.default.clientAuth]
# Requires cert, which must be signed by CA listed in caFiles
# clientAuthType = "RequireAndVerfiyClientCert"
clientAuthType = "VerifyClientCertIfGiven"
caFiles = [
"/path/ca.crt"
]
the certificate, key and CA files are mounted onto a volume with path /path
and here is my static config in traefik.toml, where tls.toml is located within /config
[providers]
[providers.file]
directory = "/config"
watch = true