Hi,
I am setting up Home Assistant using HASSIO, and I am following this to create the certificates:
addon installed with the following config:
{
“email”: "abcdefgh@gmail.com ",
“domains”: [
“abcdefgh.mooo.com ”
],
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}
files created in /ssl
core-ssh:/config# cd /ssl/
ls -l
-rw-r–r-- 1 root root 3574 Sep 6 21:55 fullchain.pem
-rw------- 1 root root 1708 Sep 6 21:55 privkey.pem
configuration.yaml file updated with the following:
http:
base_url: https://abcdefgh.mooo.com:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
HA restarted
Modem port forwarding: 80 >> 80 & 443 >> 8123
DDNS is done through - https://freedns.afraid.org
Any help of what I might be doing wrong?
Hi @mouthpiec
I don't know how that HASSIO works.
But checking your domain port 443 (your internal port 8123) is a http port ( https://check-your-website.server-daten.de/?q=sandrozahra.mooo.com ):
Port 80 has a timeout. Port 443 answers with a typical error
The handshake failed due to an unexpected packet format.
So the tool checks, if port 443 works with http -> that works.
The same error is visible checking your port 8123 - https://check-your-website.server-daten.de/?q=sandrozahra.mooo.com%3A8123
http answers with content, https answers with the same error message.
So there is one step missing: Your configuration doesn't know that 443 / 8123 should be a https port.
PS:
⚠ This guide has been migrated from our website and might be outdated. Feel free to edit this guide to update it, and to remove this message after that. If your Home Assistant instance is only accessible from your local network, you can still...
Reading time: 6 mins 🕑
Likes: 17 ❤
A restart of Home Assistant is required for the changes to take effect.
Same if you use a Letsencrypt certificate.
Hi,
Thanks for your detailed reply… I have seen a lot of tutorials and i think i did all the steps.
Below you can find a screenshot of a trace, and the PC from which I try to access the URL is returning an error “Protocol Version” if this helps.
This is the same problem. You have to find your "missing step".
Hi again … problem solved.
The default config that commes with HASSIO had an extra space character in the HTTP part of the config.
Thanks again for your help
1 Like
system
Closed
October 7, 2019, 3:13pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.