SSL trust between NGINX and Apache
June 01, 2016 11:27AM
Sorry in advance if I missed any previous answer on that topic...

I installed an Apache that is configured for SSL, using a self-signed certificate.
In front of this machine, I have a running NGINX in the DMZ, which already serves a lot of different internal systems. Usually, it terminates SSL and speaks HTTP to the inner world.

For this specific Apache, we need to keep SSL between NGINX and Apache, because there is an authentication service running on Apache that listens for HTTPS requests only. So, if a user clicks on "Log-in", the application switches to HTTPS.
If NGINX terminates SSL requests and speaks with Apache using port 80, this service would break.

Therefore, I would like the NGINX to just forward / proxy the incoming 443 request to the Apache, using also 443.
I haven't found any documentation how to enable a trust between the both machines. On the Apache side, I have imported the NGINX SSL certificate to the trust store. But, I have no idea what needs to be done on the NGINX side to establish the trust.

Does anybody here have a step-by-step guide how to integrate NGINX with a SSL speaking Apache (or other back-end)?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready