IIS Server Security - httpcfg and DS Mapping

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > August 2006 > httpcfg and DS Mapping





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author httpcfg and DS Mapping
Oliver Quixchan

2006-08-22, 7:34 pm

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com