-AZ … help … here is what I did for home assistant using cloudflare …
The old config …
duckdns:
domain: woodlandhillsnorthsanantonio
access_token: [redacted]
http:
Secrets are defined in the file secrets.yaml
api_password: !secret legacy_password
ssl_certificate: /home/homeassistant/dehydrated/certs/woodlandhillsnorthsanantonio.duckdns.org/fullchain.pem
ssl_key: /home/homeassistant/dehydrated/certs/woodlandhillsnorthsanantonio.duckdns.org/privkey.pem
base_url: woodlandhillsnorthsanantonio.duckdns.org:8123
ip_ban_enabled: True
login_attempts_threshold: 10
my new conf …
http:
Secrets are defined in the file secrets.yaml
api_password: !secret legacy_password
ssl_certificate: /home/pi/.acme.sh/markresidence.com/fullchain.cer
ssl_key: /home/pi/.acme.sh/markresidence.com/markresidence.com.key
base_url: markresidence.com:8123
ip_ban_enabled: True
login_attempts_threshold: 10
the command I ran –
pi@hassbian:/home/homeassistant/acme.sh $ ./acme.sh --issue --dns dns_cf -d markresidence.com
[Sun 22 Sep 23:11:15 CDT 2019] Create account key ok.
[Sun 22 Sep 23:11:15 CDT 2019] Registering account
[Sun 22 Sep 23:11:16 CDT 2019] Registered
[Sun 22 Sep 23:11:16 CDT 2019] ACCOUNT_THUMBPRINT=‘wS5o61DO_IzzO3kWF-ux1kZSr8q61goR4CS_X2SLexo’
[Sun 22 Sep 23:11:16 CDT 2019] Creating domain key
[Sun 22 Sep 23:11:17 CDT 2019] The domain key is here: /home/pi/.acme.sh/markresidence.com/markresidence.com.key
[Sun 22 Sep 23:11:17 CDT 2019] Single domain=‘markresidence.com’
[Sun 22 Sep 23:11:17 CDT 2019] Getting domain auth token for each domain
[Sun 22 Sep 23:11:19 CDT 2019] Getting webroot for domain=‘markresidence.com’
[Sun 22 Sep 23:11:19 CDT 2019] Adding txt value: ocZn90Zswa1d4rjPmkaDB_4enOr3UO_Aqe_XSRXtwKM for domain: _acme-challenge.markres idence.com
[Sun 22 Sep 23:11:20 CDT 2019] Adding record
[Sun 22 Sep 23:11:20 CDT 2019] Added, OK
[Sun 22 Sep 23:11:20 CDT 2019] The txt record is added: Success.
[Sun 22 Sep 23:11:20 CDT 2019] Let’s check each dns records now. Sleep 20 seconds first.
[Sun 22 Sep 23:11:41 CDT 2019] Checking markresidence.com for _acme-challenge.markresidence.com
[Sun 22 Sep 23:11:42 CDT 2019] Domain markresidence.com ‘_acme-challenge.markresidence.com’ success.
[Sun 22 Sep 23:11:42 CDT 2019] All success, let’s return
[Sun 22 Sep 23:11:42 CDT 2019] Verifying: markresidence.com
[Sun 22 Sep 23:11:45 CDT 2019] Success
[Sun 22 Sep 23:11:45 CDT 2019] Removing DNS records.
[Sun 22 Sep 23:11:45 CDT 2019] Removing txt: ocZn90Zswa1d4rjPmkaDB_4enOr3UO_Aqe_XSRXtwKM for domain: _acme-challenge.markresidenc e.com
[Sun 22 Sep 23:11:46 CDT 2019] Removed: Success
[Sun 22 Sep 23:11:46 CDT 2019] Verify finished, start to sign.
[Sun 22 Sep 23:11:46 CDT 2019] Lets finalize the order, Le_OrderFinalize: https://acme-v02.api.letsencrypt.org/acme/finalize/6697 2420/1142857093
[Sun 22 Sep 23:11:48 CDT 2019] Download cert, Le_LinkCert: https://acme-v02.api.letsencrypt.org/acme/cert/03efc27be41d08698fbae83 702e52736160c
[Sun 22 Sep 23:11:49 CDT 2019] Cert success.
I cannot get Home Assistant to resolve to markresidence.com … nothing happens at all … am I using the wrong files for ssl_certificate and ssl_key in my configuration.yaml file? I expected the usual let’s encrypt names.
