Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

SSL trust between NGINX and Apache

$
0
0
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)?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>