I have 2 Nginx instances, one is listening on 80 and has a proxy_pass https://second_nginx;
The second instance is configured to listen on 443 with a self signed certificate, but also have the SSL client verify.
I'd like to create a trusted connection between them, and 'inject' the client cert/key to that proxypass so that anything going to the first instance doesn't know about it.
Is that possible ? Do I need a custom module ?
edit: I found that stunnel may be a suitable solution to add that layer in between, is it a good solution ?