Re: IIS 6 is a steaming pile of shit

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 01/19/05


Date: Wed, 19 Jan 2005 05:37:22 -0800


>From the newsgroup, it looks like you got several answers. In general, I
would ask such questions to the ASP newsgroup
(microsoft.public.inetserver.asp.general) since your question has more to do
with type/conversion than IIS configuration.

The KB article that you posted worked for me to retrieve the certificate
from ASP. What is generally confusing with scripting is in dealing with the
VARIANT data type -- some are usable in VBScript, some are usable in both,
and some are usable in neither. You want to go to a newsgroup where more
people deal with such topics.

As for access to the actual certificate from CGI -- that is not possible --
IIS has no way to get that binary data to your CGI via environment
variables. The reason that ASP has it is because there is an ISAPI
Extension function call to get that binary data. ISAPI is more native to IIS
and can take advantage of more IIS features. CGI is more generic and
portable, which tends to sacrifice functionality. Both CGI and ISAPI can
access various other certificate details like issuer, cert name, mapped
user, etc -- via names according to CGI spec.

-- 
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jona Gold" <me@lurking.com> wrote in message
news:uxyPBKg$EHA.1296@TK2MSFTNGP10.phx.gbl...
Jeff Cochran wrote:
> This group is here to help you, and the regulars here are very good at
> that.  You have a large amount of practical IIS experience here plus
> direct connections to support people at Microsoft, don't screw them
> over just because you're frustrated.
But what about me? I asked how to get certificate from IIS > 5.0 via CGI
or ASP/JScript or if it must be ASP/VBScript but got no answer. Who
should I whine to now?

Quantcast