Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101645

Hass.io with DuckDNS and NGINX: HTTP works but HTTPS doesn't work (ERR_SSL_PROTOCOL_ERROR)

$
0
0

@HalaAutomateths wrote:

Hi everyone,

I’m at my wits end trying to get HTTPS working for the past few days. I feel like I’m almost there but can’t find the last piece of the puzzle.

My setup:

  • Pi4 4GB
  • Hass.io ( Home Assistant 0.103.3)
  • DuckDNS
  • NGINX
  • Router Port forwarding for 80, 443, and 8123 to 8123
  • Logs indicate everything is running correctly

From an external device, I am able to access http://domain.duckdns.org but not https://domain.duckdns.org. I keep getting ERR_SSL_PROTOCOL_ERROR (Chrome) and “This might be because the site uses outdated or unsafe TLS security settings” (Edge) when I try accessing Hassio with the https url.

What am I missing? Do I need to set up /etc/nginx/sites-enabled/homeassistant as outlined here: https://www.home-assistant.io/docs/ecosystem/nginx_subdomain/ ?

configuration.yaml (I’ve tried different variations of base_url - http, https, with and without port number - no luck)

default_config:
 http:
   base_url: domain.duckdns.org

NGINX

{
  "domain": "domain.duckdns.org",
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "hsts": "max-age=31536000; includeSubDomains",
  "cloudflare": false,
  "customize": {
    "active": false,
    "default": "nginx_proxy_default*.conf",
    "servers": "nginx_proxy/*.conf"
  }
}

NGINX Network

Container Host Description
80/tcp 80
443/tcp 443

Posts: 12

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 101645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>