Skip to content

Add support for Client-Side Certificate Authentication #1197

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

Closed
wants to merge 6 commits into from

Conversation

Nobody84
Copy link

Adding support to enable client side certificate authentication per virtual host in the same way a the basic authentication works. If a certificate file with the name of a Virtual_Host.crt is located in directory /etc/nginx/ca, the server will activate ssl_verify_client using this crt file. If you also want to use a certificate revocation list you have to copy your crl file to the /etc/nginx/ca with the name Virtual_Host.crl.

@maresb
Copy link

maresb commented May 28, 2019

It would be great to see this functionality merged.

In case anyone else is wondering how to do client certificates in the meantime, it's quite simple via config files. For example, for proxy-wide client certificates, add the following lines to my_proxy.conf (as described in README.md):

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

This of course assumes that your client certificate CA has been added to the path above.

@Sy14r
Copy link

Sy14r commented Apr 8, 2021

Is this planning to be merged eventually? It doesn't appear that there are any blockers.

@buchdag buchdag added scope/auth kind/feature-request Issue requesting a new feature labels Apr 8, 2021
@buchdag
Copy link
Member

buchdag commented Apr 8, 2021

@Sy14r I want to have the test suite working again before starting to merge new features, see #1304

Also, ideally, I'd like new features to have corresponding tests.

@buchdag buchdag added type/feat PR for a new feature and removed kind/feature-request Issue requesting a new feature labels Apr 29, 2021
@Nobody84 Nobody84 closed this May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/auth type/feat PR for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
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