Addons: No certificate obtained, no logs

Created on 17 Feb 2020  路  5Comments  路  Source: home-assistant/addons

Hi,

I'm running a clean install of Home Assistant (HassOS 3.10). I've just installed the Let's Encrypt add-on, and set it up for DNS challenge against Cloudflare. The config is as follows:

email: [[email protected]]
domains:
  - [redacted.domain.com]
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
  provider: dns-cloudflare
  cloudflare_api_token: [redacted]

(I have tried both auth options for Cloudflare, and neither work by the way.)

Starting the add-on, I get the following log output:

[14:43:43] INFO: Selected DNS Provider: dns-cloudflare
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for [redacted.domain.com]
Cleaning up challenges
/data/dnsapikey: dns_cloudflare_email and dns_cloudflare_api_key are not needed when using an API Token

It's difficult to diagnose what's going on here. The add-on states that debug information is logged into /var/log/letsencrypt, but that folder and the file letsencrypt.log don't exist.

The system log isn't much help either.

Any ideas where to start digging for further debug information?

Thanks,

Rik.

All 5 comments

I'll add a 'me too' to this. Been fiddling for ages!

me too!

Looks like #1073 is to blame.

I created a PR. However, my certs are fine on /ssl with the same log output. I think the issue is the propagated time or permission of the api key

Just calling out that this issue still remains; I'm still getting the same error despite using version 4.11.0 of the add-on. There's nothing being output to any logs, which makes troubleshooting effectively impossible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamotte picture adamotte  路  9Comments

mvandek picture mvandek  路  8Comments

ThomasThomsen01 picture ThomasThomsen01  路  5Comments

nealeydee picture nealeydee  路  7Comments

move[bot] picture move[bot]  路  7Comments