Skip to content

SSL Authentication upstream trough nginx reverse proxy #10

@Rhuiedan

Description

@Rhuiedan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions