[Solved] SSL termination: configuration of lighttpd and lets encrypt
Added by okoestner over 4 years ago
Hi,
my setup is like this:
Internet --> Router --> Raspi-1 (lighttpd) --> Raspi2 (apache)
Both Raspi-1 and Raspi-2 serve www content that should be accessible from the internet. Port forwarding of port 80/TCP and 443/TCP are configured properly in the router.
As long as I am running everything with http on port 80 everything works fine. Raspi-1 serves it's content and forwards two other domains as desired to Raspi-2 where apache will serve the content.
My next step is to enable https by using certificates from "lets encrypt" for both web servers.
The more important content comes from Raspi-2 so I want to get this content being encrypted first.
How do I need to configure that? Will Raspi-1 with lighttpd terminate the ssl connection? How will the port forwarding then be done? Is it possible to also encrypt the line between Raspi-1 and Raspi-2 with a new certificate?
I really appreciate any hint on how to get that solved.
Best regards,
Olaf
Replies (2)
RE: SSL termination: configuration of lighttpd and lets encrypt - Added by gstrauss over 4 years ago
Allow me to remind you of your post history here: https://redmine.lighttpd.net/users/11347
You have a 100% rate of failing to read the documentation before posting questions.
RTFM: mod_proxy documentation and lighttpd TLS documentation
RE: SSL termination: configuration of lighttpd and lets encrypt - Added by okoestner over 4 years ago
Thanks for pointing me to the appropriate documentation. If I dont reall know where to start I will not be able to find the appropriate documentation.
The rest of your posting will be redirected to /dev/null