I'm hosting an app on a NAS, port 3000.
Works great.
I have a Raspberry Pi 5 that runs Apache and a few web projects. Works great.
I've got a static IP from my ISP and can send traffic to via my domain name and subdomains. My router forwards ports 80 and 443 to the Raspberry Pi 5 that runs my Apache server.
Works great!
I use certbot to make SSL for all subdomains.
But now, I have a domain set up in Apache that redirects to the app on the NAS.
Works great!
But, I want to add SSL. certbot fails as I assume it's trying to add files to a folder, but of course, it can't. So, where do I add the SSL cert?
- The NAS?
- The Raspberry Pi 5?
I don't know how to make certs outside of certbot (I should learn).
Is there an idiot's guide to the relationship of SSL and redirected virtual directories?