Hass wont start with ssl_certificate and ssl_key

hey,

Im setting up my home assistant for the first time on a raspberry pi 3 following the tutorials by BRUH Automation.
i got home assistant running, and also followed the tutorial for duckdns and letsencrypt.
Duckdns is working I can see my hass on example.duckdns.org:443
but as soon as i add these lines to the configuration.yaml (with “yourdomain” of course changed)

http:
api_password: yourpassword
ssl_certificate: ‘/etc/letsencrypt/live/yourdomain.duckdns.org/fullchain.pem’
ssl_key: ‘/etc/letsencrypt/live/yourdomain.duckdns.org/privkey.pem’

Hass wont start up.I cant even see it on my local ip adress.
if i remove those lines it starts working again.

how do i fix this?

What’s the error in the logfiles?

Make sure the user you use running hass (normally hass) has read access to the pem files.

I Just fixed it my self , by deleting the letsencrypt folders and following this guide Guide: How to set up DuckDNS, SSL, and Chrome Push Notifications

I’m having the exact same issue. What happened to the files inside the letsencrypt folder? I have had my setup working on TLS for 4 days, now it has broken by itself.

Hi,

I’m facing the same problem and I tried to delete the letsencrypt folder and download the certificates again.
Bus as soon as I add those lines to my configuration.yaml HA won’t start up.
Any idea how I can fix this??
Thanks

I’m also having this issue.