Fake Basic Auth

smallfish smallfish.xy at gmail.com
Sun Aug 25 07:20:23 UTC 2013


use ngx_lua for 401 auth example:
http://chenxiaoyu.org/2012/02/08/nginx-lua-401-auth.html

--
smallfish http://chenxiaoyu.org


On Sun, Aug 25, 2013 at 2:53 PM, Christian Felsing <pug+nginx at felsing.net>wrote:

> Hello,
>
> I am new to nginx and have following problem:
>
> Nginx should be used as a reverse proxy and configured for client
> certificate authentication. Backoffice application supports basic auth
> only.
> Apache 2.4 solution for that kind of problems is "Fake Basic Auth" so
> backoffice application gets a remote_user and password generated from
> client certificate presented by user.
>
> Example:
> AuthBasicFake %{SSL_CLIENT_S_DN_CN}
> %{sha1:passphrase-%{SSL_CLIENT_S_DN_CN}}
> This set remote user to CN from client certifiate.
>
> is there a similar mechanism in Nginx?
>
> Does HttpLuaModule allow to fake a 401 authentication?
>
> best regards
> Christian
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130825/53cc3812/attachment.html>


More information about the nginx mailing list