ClientCertificate

Working with ASP, Windows 2000, IIS 5.0. I have CA certificate installed on my machine which is installed fine. Under IIS, Web Site - Properties - Directory Security, I can view certificate. Secure communication is set to "Accept Client certificate" . However when I run following code through browser nothing happens.

Response.Write Request.ClientCertificate().

View Replies


ADVERTISEMENT

Clear Request.ClientCertificate

How can I clear Request.ClientCertificate. When I want clear the session of my digital certificate, I cannot until I close IExplorer.

View Replies View Related

Request.ClientCertificate And Browser Close

I use Request.ClientCertificate to read user cert from Estonian National ID
Card for authenticating users. All works fine, i can read cert and personal id code, authent. user aso.

But problem is when user logs out and the browser info stays open, even when
user removes id-card from reader and clicks on "Login" link, user will be authenticated because cert. is in cache? Code:

View Replies View Related

Request.ClientCertificate Collection Type Mismatch

I have used simple asp pages to enumerate value/properties of the
Request.ClientCertificate collection like so:

For Each strKey in Request.ClientCertificate
Response.Write strkey & " = " & Request.ClientCertificate(strkey) & "<BR>"
Next

exactly as suggested in the MSDN documentation here (under the Sample Code
for VBS):
http://msdn.microsoft.com/library/d...921d64e549f.asp

That worked in W2k Pro sp2 ... last year, but I recently upgraded to XP Pro sp2
and now, that simple asp enumeration throws a VBS mismatch error:

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch
/cryptoasp/clientcert00.asp, line 10

I need to explicitly convert to a string to avoid the error using:
CStr(Request.ClientCertificate(strkey))

When did this change occur??

Note that this explicit casting to a string using CStr is not required for collections
such as Request.ServerVariables

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved