SSL Offloading Configuration Issues with pfSense and Home Assistant

Hello everyone, I’m reaching out for some guidance on a configuration issue I’m facing with my Home Assistant setup. I’ve been trying to get SSL offloading working properly using pfSense as my firewall, with HAProxy and ACME for certificate generation. While everything works smoothly for my other web services, Home Assistant is proving to be a bit stubborn.

I’ve followed several community guides and adjusted my configuration.yaml file accordingly, including setting up trusted proxies and specifying the virtual IP for the HAProxy frontend. Despite these efforts, I’m unable to get the Home Assistant GUI to respond correctly over SSL using my domain’s wildcard certificate. This is a bit frustrating, especially since I’m relatively new to this kind of setup.

I’m wondering if there’s something specific about Home Assistant’s configuration that I’m missing. Could there be an additional setting or a different approach to how trusted proxies are handled? I’ve tried modifying the http section in configuration.yaml and ensuring that the virtual IP is correctly configured, but nothing seems to resolve the issue.

If anyone has successfully implemented a similar setup or has insights into what might be going wrong, I’d greatly appreciate your advice. I’m happy to provide more details about my current configuration or any logs that might help diagnose the problem. Thanks in advance for your time and assistance!