我想将OVH与DNS质询结合使用以生成一个Let's Encrypt证书。我经历了一个设置(在该主题上遵循great writeup之后),但对OVH的请求最终失败了(env['warden'].user(:user)
替换为我的真实域名):
example.eu
最后一行表明配置不正确,但是Traefik是在请求的环境下启动的:
time="2020-01-14T14:32:35+01:00" level=debug msg="No default certificate, generating one"
time="2020-01-14T14:32:35+01:00" level=debug msg="Try to challenge certificate for domain [whoami.example.eu] found in HostSNI rule" providerName=le.acme routerName=whoami@docker rule="Host(`whoami.example.eu`)"
time="2020-01-14T14:32:35+01:00" level=debug msg="Looking for provided certificate(s) to validate [\"whoami.example.eu\"]..." providerName=le.acme routerName=whoami@docker rule="Host(`whoami.example.eu`)"
time="2020-01-14T14:32:35+01:00" level=debug msg="Domains [\"whoami.example.eu\"] need ACME certificates generation for domains \"whoami.example.eu\"." routerName=whoami@docker rule="Host(`whoami.example.eu`)" providerName=le.acme
time="2020-01-14T14:32:35+01:00" level=debug msg="Loading ACME certificates [whoami.example.eu]..." providerName=le.acme routerName=whoami@docker rule="Host(`whoami.example.eu`)"
time="2020-01-14T14:32:35+01:00" level=debug msg="Building ACME client..." providerName=le.acme
time="2020-01-14T14:32:35+01:00" level=debug msg="https://acme-staging-v02.api.letsencrypt.org/directory" providerName=le.acme
time="2020-01-14T14:32:41+01:00" level=debug msg="Using DNS Challenge provider: ovh" providerName=le.acme
time="2020-01-14T14:32:41+01:00" level=error msg="Unable to obtain ACME certificate for domains \"whoami.example.eu\": cannot get ACME client ovh: some credentials information are missing: OVH_ENDPOINT,OVH_APPLICATION_KEY,OVH_APPLICATION_SECRET,OVH_CONSUMER_KEY" providerName=le.acme routerName=whoami@docker rule="Host(`whoami.example.eu`)"
如何进一步调试对LE证书的请求?