roxen.lists.roxen.general

Subject Author Date
checking an ssl/tls client certificate in a roxen module? Martin Bähr <mbaehr[at]email[dot]archlab[dot]tuwien[dot]ac> 22-11-2006
hi,

i am trying to authenticate a client connection through its tls client
certificate. 

but i can't find it in the request_id.

i found: id->connection()
SSLProtocol(https://127.0.0.1:443)->destruct_protected_sslfile()
which looks not to bad. (although i am wondering about that 'destruct' in
there.

this thing does contain get_peer_certificate_info() and
get_peer_certificates() functions, but both return 0.

does this mean the client did not sent any certificates?
or am i looking in the wrong place?

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/