Configuring Local SSL for Home Assistant on Raspberry Pi

Hey everyone, I’m trying to set up Home Assistant (HA) on my Raspberry Pi 3B+ and I want to use SSL for secure local access. I’ve heard that this is important for safety, especially since I don’t want my HA instance connected to the internet. I came across the Home Assistant Cast feature, which seems really useful, but it requires HTTPS. I’ve looked through some guides, but most of them focus on external access, which isn’t what I need. I found a few mentions of SSL in the forums, but nothing specific to local setups. I’m hoping someone here can help me figure this out. I’ve tried generating a self-signed certificate using OpenSSL, but I’m not sure if I’m on the right track. Any guidance would be greatly appreciated! I want to make sure I understand the setup properly so I can maintain it without issues. Thanks in advance for your help!