Hi all,
I am running stuck on getting a wildcard certificate with the provider TransIP.
The txt records are not made in the DNS of dynadex.dev @ TransIP.
Docker version: 18.09.6, build 8cdf373
Running on a Synology DS216+
DSM: DSM 6.2.2-24922 Update 3
File structure:
Getting the following error:
Error:
time="2019-09-09T12:08:03Z" level=error msg="Unable to obtain ACME certificate for domains \"*.dynadex.dev\" : cannot get ACME client transip: some credentials information are missing: TRANSIP_ACCOUNT_NAME,TRANSIP_PRIVATE_KEY_PATH"
I know the error is pretty straight foward, but i've been Googling for days now, and tried many things, but i can't get past this error. Hope someone can help me out
Here is my setup:
docker-compose.yml
version: '2'
services:
traefik:
image: traefik:latest
restart: always
ports:
- 980:80
- 1394:443
- 1212:8080
environment:
- TRANSIP_ACCOUNT_NAME=dynadex
- TRANSIP_PRIVATE_KEY_PATH=/transip.key
networks:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.toml:/traefik.toml
- ./transip.key:/transip.key
- ./acme.json:/acme.json
container_name: traefik
networks:
web:
external: true
traefik.toml
debug = true
logLevel = "ERROR"
defaultEntryPoints = ["https","http"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[api]
entryPoint = "admin"
dashboard = true
debug = true
[retry]
[acme]
email = "coen@dynadex.nl"
storage = "acme.json"
entryPoint = "https"
acmeLogging=true
onDemand = false
onHostRule = false
[acme.dnsChallenge]
provider= "transip"
delayBeforeCheck = 300
resolvers = ["ns0.transip.net,ns1.transip.nl,ns2.transip.eu,1.1.1.1,8.8.8.8"]
[[acme.domains]]
main = "*.dynadex.dev"
sans = ["dynadex.dev"]
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "dynadex.dev"
watch = true
exposedByDefault = false
acme.json - Is being filled
{
"Account": {
"Email": "coen@dynadex.nl",
"Registration": {
"body": {
"status": "valid",
"contact": [
"mailto:coen@dynadex.nl"
]
},
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/65522979"
},
"PrivateKey": "***** Is being filled in *****",
"KeyType": "4096"
},
"Certificates": null,
"HTTPChallenges": {},
"TLSChallenges": {}
}