#I installed Home Assistant on a VM under

1 messages · Page 1 of 1 (latest)

random vigil
#

imo add a cert to nginx and let that handle the cert
i dont use NPM, i use swag container, but whats is your config?

worn rover
#

I did that... I got a wildcart cert, set up a proxy host in NPM. But when I try to access it, I get 400 Bad Request

#

A lot of online guides suggest adding trusted_proxies in some config yaml but I don't know where/how to do this

random vigil
worn rover
#

Do I need to install the HTTP integration?

#

I tried to look for it but it doesn't show up on the Add Integration options

random vigil
#

no this is a manual config, just paste it at the top level in your configruation.yaml

worn rover
#

okay, that worked great!

#

Next question -- because my ngnix proxy manager and my home assistant are on different machines, I'd like to have SSL connection between them too

#

Maybe with a self-signed certificate

#

Can you point me to where I should look at ?

random vigil
#

why do you need a cert between them?

#

i wouldnt know where to do that since i dont have a cert for HA. theres no reason for a cert on my own lan

#

i would google for how to add a cert to HA though

worn rover
#

because they're on lan but through wifi, and it's not that hard to do man in the middle attacks on wifi

#

ok, let me look for it. Thanks

random vigil
#

if someones on your wifi or attacking you than have bigger issues

worn rover
#

Yeah true. But it's generally a good idea to secure most of my network to be encrypted rather than un-encrypted