Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Authentication upstream trough nginx reverse proxy #10

Open
Rhuiedan opened this issue Oct 9, 2024 · 0 comments
Open

SSL Authentication upstream trough nginx reverse proxy #10

Rhuiedan opened this issue Oct 9, 2024 · 0 comments

Comments

@Rhuiedan
Copy link

Rhuiedan commented Oct 9, 2024

Hi,
We have a server with the rest api setup, that is running a nginx reverse proxy. But with this, we are running into some problems with getting the ssl authentication from curl to reach the api, as nginx terminates the ssl connection and doesn't forward the cert and key.

We have tried a few different setups to solve this, one of them working for a single certificate/key, but this is not a good solution.

Do you have any experience with how to make this work with nginx? One of the challenges seems to be that the curl command sends both the cert and key file. Nginx only seems to support forwarding the cert trough proxy_ssl_trusted_certificate, and this is causing some issues with the rest api authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant