Skip to content

Mutual auth between server and client #1046

@enric1994

Description

@enric1994

Hey!
I am trying to implement mutual authentication between my web and my client.
For the moment, I configured the server side auth, using:
-v /path/to/certs:/etc/nginx/certs

It works properly with the server side.

To enable the user auth I amb trying to modify the /etc/nginx/conf.d/default.conf mounting my own .conf file, which includes the following lines:

  ssl_client_certificate /etc/nginx/certs/ca/ca.crt;
  ssl_verify_client on;

But the nginx-proxy container don't start when I load the .conf.
How can I modify it to enable user authentication?

(I created the user cert and imported it to the browser)
(Using Docker 17.12.0-ce , docker-compose 1.18.0 and the latest version of jwilder/nginx-proxy)

Thanks!

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy