SSL protocol error after switching to nginx proxy manager

Hi all

I’ve got HA and another service running on my pi which I’d like to expose to the internet. Ive been exposing my HA instance via https using the “lets’s encrypt addon”. Today Ive installed another service which I would like to access from outside.

Therefore I’ve uninstalled the let’s encrypt addon and switched to the “Nginx Proxy Manager” community addon to direct different subdomains to the different services.

Ive been using this addon in the past (on another instance) to do exactly the same thing: routing two subdomains to different hosts.

However, this time it doesn’t work.

What I did:

  • uninstall let’s encrypt addon
  • removed http settings from the configuration.yaml
  • installed Nginx Proxy Manager + Dependencies
  • Added two hosts to Nginx Proxy Manager + issued two new ssl certificates for each subdomain.
  • I also added the trusted proxy stuff to the configuration.yaml (but that doesnt matter since I dont get there anyways)

If I use http to connect to the hosts everything works as expected. However if I force SSL I am getting a “ERR_SSL_PROTOCOL_ERROR” on Chrome or an “SSL_ERROR_RX_RECORD_TOO_LONG” on firefox

Unfortunately I not that familliar with configuring servers to use ssl so Im hoping that someone can lead me into the right direction.

Since I reused one of the subdomains nginx issued a new certificate for that subdomain while the used cert was still valid. Not sure if HA mixes something up since I didnt have these issues on my other instance. I also tried to import the “old” certificate into nginx with no luck.

Thanks in advance

Edit: Port 80 and 443 are forwarded to the server

Too little details. Obviously, whatever route the request go, it’s not SSL-enabled.

2 potential reasons I see:

  • You are routed directly to HA rather than going through nginx.
  • Your nginx config is wrong

I am having the exact problem as secures, but I do not understand how to remedy. Please expand on how to fix the 2 reasons.