473,508 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clientcertificates.IsPresent

Hi,

I am trying to detect in code whether a user has authenticated against
my server using a client certificate. I am using the following:

Dim conCert As HttpClientCertificate
conCert = HttpContext.Current.Request.ClientCertificate
dim isPresent as boolean = conCert.IsPresent
dim isValid as boolean = conCert.IsValid

When I debug, IsPresent is False and IsValid is True.

How can I have a Valid yet not-present Client Certificate???

Dev is local with a mapped client cert in IIS 5.1 (XP Pro)

Client cert is also installed locally.

Any ideas?!

FG
Nov 18 '05 #1
0 1141

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2747
by: Chad | last post by:
I'm in an intro to VB.net class. I'm haveing trouble with this assignment, if anyone could help me please let me know. thanks! Coding Assignment 7-Chapter 8 OOP-CSCI-171 Intro to VB.NET ...
0
1192
by: RYoung | last post by:
I have a custom attribute with an "IsPresent" property with get; set accessors. When the attribute is applied to a field of a class, IsPresent will be false by default. At runtime, I'll read in...
1
4644
by: Marvin | last post by:
my asp.net app is posting to another webpage using httpwebRequest & x509Certificates and in return the certificate's name used for the posting is sent back. But instead of getting information about...
5
4034
by: | last post by:
Hi I'm having a problem with SoapWebRequest, basically I'm trying to use a client certificate to access a webservice. normally HttpWebRequest exposes a ClientCertificates property, so that I can...
0
2007
by: Daniel Knöpfel | last post by:
Hi We have developed a webservice that was accessed by a fat windows client. A security requirement was that the client authenticates itself by using by providing a client certificate. The...
12
2660
by: joestevens232 | last post by:
Hello, I'm having a little problem with my code...I have the program written but its just not doing what I want and needs a minor tweak and I've been trying to fix it for ohurs and can't find a...
0
1416
by: calebmeii | last post by:
Hi, Anyone's help is really appreciated! VS05 with .net 2.0, on Windows XP/2003 IIS 5/6, on ASP, When post a HttpWebRequest with client ceritificate X509Certificate cert =...
2
1905
mgpsivan
by: mgpsivan | last post by:
Hi, I'm having 2 listboxes and The task is to move the selected item from listbox 1 to listbox 2 which is not already present in listbox2. listbox 1's selection property is set to MULTIPLE. can u...
1
5506
by: Marco Shaw [MVP] | last post by:
http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.clientcertificates.aspx I'm having a hard time to find/understand how this property works. It only supports get, but how does...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7324
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7495
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5627
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.