Ahh, as i wasn't seeing the 495 and 496 codes in the logs, only 400 i had
assumed that what i needed to re-map. Using 495 and 496 works wonderfully!
Thanks Igor.
2016/04/14 21:46:51 [info] 7#7: *1 client SSL certificate verify error:
(21:unable to verify the first certificate) while reading cli
Does anyone know of any way to re-map a 400 response code?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,266136,266185#msg-266185
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
... i also tried adding below, but still wouldn't return a 403?
error_page 400 =403 /;
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,266136,266138#msg-266138
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/li
Hi, i was wanting to return a 403 when invalid client certificate submitted,
however Nginx 1.9.6 returning 400 Bad Request, The SSL Certificate Error.
Seems to return 403 fine when no certificate is submitted, but any clues on
getting it to return a 403 work when invalid (signed by unauthorised CA)