Hi, hope you will be able to help me with that issue (I saw some similar threads but not the exact problem):
First - I’ll try to describe the current situation:
- I have raspberry pi (2) running Hass,io on a local static IP
- I have access to my HA from outside world with port 8123 using DNSduck (mydomain.duckdns,org:8123) while I forwarding port 8123 > 8123
- Port 80 is blocked (I guess by the ISP - I opened it in the router but to access to this port)
- Port 443 is open and forwarding to 443 inside my network
After setting the letencrypt configuration like that:
{
"challenge": "https",
"email": "xxxxx@gmail,com",
"domains": [
"mydomain.duckdns,org"
],
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
I installed the plugin and I got this log via addon:
starting version 3.2.2
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for mydomain.duckdns,org
Waiting for verification...
Cleaning up challenges
Non-standard path(s), might not work with crontab installed by your operating system package manager
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at
/data/letsencrypt/live/mydomain.duckdns.org/fullchain.pem. Your
cert will expire on 2017-12-14. To obtain a new or tweaked version
of this certificate in the future, simply run certbot again. To
non-interactively renew *all* of your certificates, run "certbot
renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https:// letsencrypt,org/donate
Donating to EFF: https:// eff,org/donate-le
After that I added the relevant lines to configuration file:
http:
api_password: "mypassword"
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Also I’m able to see this files via SSH in the ssl dir.
On the other hand - I’m not able to see letsencrypt folder under /data folder - looks like it’s not exist…
Now I set port 443 to 8123 and I was hoping I’ll be able to access https:// mydomain.duckdns,org and get my HA but it didn’t work…
This is what I get when I’m trying to access with Google Chrome:
This site can’t provide a secure connection
mydomain.duckdns,org sent an invalid response.
Try running Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
I tried multiple solutions I found online but nothing worked for me.
Looks like letsencrypt was installed properly but I’m doing somthing wrong on the way to get access to my HA with secured connection.
Thanks in advance and hope you’ll be able to help me with that issue.
(The comma before the domains extensions was necessary to send this post due to a links limitation - ignore it)