Home All Groups Group Topic Archive Search About

HttpCFG DS Mapping not working

Author
22 Aug 2006 2:42 PM
Oliver Quixchan
I'm trying to configure DS Mapping with httpcfg.  I have a test application
using HttpListener which is listening on port 8001 ssl.

To configure the ssl certificates I used httpcfg.  This is my command:

httpcfg set ssl -i 0.0.0.0:8001 -f 3 -c "MY" -h <Certificatehash>

-f 3 : Should take care of mutual authentication and with DS Mapping.  But
it is not working.

I know for sure the certificates are fine, and my AD mapping is ok, because
if I test with IIS, it works perfect, and authenticates the client with the
Windows user.   But as soon as I move to my application and httpcfg, it
validates the certificates, but it does not authenticate the client with a
windows user.   I'm using  Thread.CurrentPrincipal.Identity.IsAuthenticated  
to see if it is working.

http query ssl   shows this:

------------------------------------------------------------------------

    IP                      : 0.0.0.0:8001

    Hash                    : 669b8ab4172fd790d8d5c9aca643f8fbd7 332b1

    Guid                    : {00000000-0000-0000-0000-000000000000}

    CertStoreName           : MY

    CertCheckMode           : 0

    RevocationFreshnessTime : 0

    UrlRetrievalTimeout     : 0

    SslCtlIdentifier        : (null)

    SslCtlStoreName         : (null)

    Flags                   : 3

Can anyone help me??

Tks


--
Oliver Quixchan
Developer

AddThis Social Bookmark Button