From 8d296109d4b3655932c4fb3b7b1bbcd01e067ee3 Mon Sep 17 00:00:00 2001 From: tobilarscheid Date: Wed, 10 May 2017 23:29:13 +0200 Subject: [PATCH 1/2] Document passing of ssl_client_cert to backend --- examples/auth/client-certs/nginx/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/auth/client-certs/nginx/README.md b/examples/auth/client-certs/nginx/README.md index fed88598a..d419d5dc1 100644 --- a/examples/auth/client-certs/nginx/README.md +++ b/examples/auth/client-certs/nginx/README.md @@ -84,3 +84,7 @@ Server: nginx/1.11.9 You must use the full DNS name while testing, as NGINX relies on the Server Name (SNI) to select the correct Ingress to be used. The curl version used here was ``curl 7.47.0`` + +## Which certificate was used for authentication? + +In your backend application you might want to know which certificate was used for authentication. For this purpose, we pass the full certificate in PEM format to the backend in the `ssl_client_cert` header. From 9c56c72464c973784e2d1e1ccc55ebceecca4157 Mon Sep 17 00:00:00 2001 From: tobilarscheid Date: Thu, 11 May 2017 08:04:17 +0200 Subject: [PATCH 2/2] fix header name --- examples/auth/client-certs/nginx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/auth/client-certs/nginx/README.md b/examples/auth/client-certs/nginx/README.md index d419d5dc1..730a802fa 100644 --- a/examples/auth/client-certs/nginx/README.md +++ b/examples/auth/client-certs/nginx/README.md @@ -87,4 +87,4 @@ The curl version used here was ``curl 7.47.0`` ## Which certificate was used for authentication? -In your backend application you might want to know which certificate was used for authentication. For this purpose, we pass the full certificate in PEM format to the backend in the `ssl_client_cert` header. +In your backend application you might want to know which certificate was used for authentication. For this purpose, we pass the full certificate in PEM format to the backend in the `ssl-client-cert` header.