-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadCertificateForDomains: runtime error: invalid memory address #1069
Labels
Comments
Same error here, no swarm mode.
defaultEntryPoints = ["http", "https"]
graceTimeOut = 60
debug = true
logLevel = "DEBUG"
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[acme]
email = "mymail@gmail.com"
entryPoint = "https"
storageFile = "acme.json"
onDemand = true
onHostRule = true
caServer = "https://acme-staging.api.letsencrypt.org/directory"
[[acme.domains]]
main = "test.dev"
sans = ["admin.test.dev", "stats.test.dev"]
[web]
address = ":8080" |
Having the same problem I found a solution after some investigations. The problem is in the configuration. ACME needs a HTTPS entrypoint (meaning an entrypoint where the TLS protocol is enabled) to work. However, no entrypoint of this kind is provided to Traefik. Adding
|
Thanks. That's it. Works fine for me now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Traefik are you using (
traefik version
)?v1.1.2
What is your environment & configuration (arguments, toml...)?
I run traefik via the provided Docker container with the following command:
The acme section in my toml configuration file looks like this:
What did you do?
I started a new docker container with the required labels.
What did you expect to see?
The SSL certificate should be generated / fetched from letsencrypt and get installed.
What did you see instead?
The following output in the logs of the container:
The text was updated successfully, but these errors were encountered: