473,698 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extracting Client Certificate fields...mutual authentication

Hi,
Am developing a web service that is gonna be consumed by a client over
https. I'm using certificates to get the mutual authentication in place. On
the server side, I want my service to be able to extract some fields from
the client's certificate. I tested the service using the browser and it
works fine...proving that the client IS sending its certificate and is
getting authenticated at IIS level.

In the web method, I'm trying to access the client's certificate using
Context.Request .ClientCertific ate.SerialNumbe r. But this throws an exception
saying m_safeCertConte xt is an invalid handle. A lil examination shows that
the call to ClientCertifica te is actually returning null. What am i missing?

Sinex
Jun 18 '07 #1
0 2494

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

Similar topics

0
2425
by: Joey Edelstein | last post by:
Hi, We are trying to add a Client Certificate support for our web app that emulates a hardware device web app. The hardware uses a 2 factors authentication, which requires a Web Service client to send: Client Certificate and Username / password. We are using a Web Service provider which uses IIS 5.1 as HTTP server. IIS is set to require client certificate and Basic Authentication.
3
1976
by: dinoo | last post by:
I would appreciate if some one answers these queries. Thanks in advance. If My web server is SSL enabled, then why should I havea client certificate authentication? what extra security it provides? Can I use client certificate without having SSL connection? How do I get the Client Certificate? Is it necessary to be issued from the same webservice server i want to use? Or I can get it from any CA e.g verisign? Is it possible to get free...
5
2312
by: wrytat | last post by:
I'm not sure if I'm posting the correct place. I posted it somewhere else, but someone told me to post it at another place. Anyway, some background first. I am currently building a web application for my company. This application is going to be hosted with an ISP on a shared server. And my company doesn't have a static IP. I want to make part of my web application such that only my company's computer can access (something like an...
0
1088
by: Eric Rosenberger | last post by:
I am developing a web service that uses SSL client certificates for authentication. It works fine with self-generated certificates, but our customer's CA wants specific information about what exactly is needed in the certificate for it to work. I've found that including the extended key usage OID for client authentication allows IIS and .NET to properly treat the certificate as a client certificate, but are there other possibilities? For...
1
1527
by: jnet | last post by:
Hi, How Do I retrieve the mapped account to a client certificate in .NET? I have multi certificates distributed to different clients; I want to know from whom the request is coming, so I can load the appropriate settings into session, Instead of following forms/windows authentication, we just want to follow Client Certificate Authentication, since most of the services are thru Web services.
1
3431
by: Yogesh Chawla - PD | last post by:
Hello All, I work for the State of Wisconsin and we are trying to build a reference implementation using python. Our goals are this: 1) establish an HTTPS connection between our client and ourselves 2) exchange client and server certificates to perform mutual authentication
1
6019
by: =?Utf-8?B?Umljaw==?= | last post by:
I am developing a WCF based app on Vista using IIS 7.0 but it will be deployed on Microsoft Server 2003 with IIS 6.0. The app uses WSHttpBinding and mutual Certificate authentication. The app works fine in the Vista IIS7.0 environment, but when moving it to the test environment that matches production, I cannot get certificate authentication to work. I get the following error: "The certificate that was used has a trust chain that cannot be...
1
6582
by: Binoy | last post by:
Hi We have two server SSL certificates from Thawte. We set up these two SSL in the same server. Now, we want to access a web service hosted by one of our customer in their
0
2821
by: =?Utf-8?B?PT10aW1lPT0=?= | last post by:
I am trying to build a proof of concept of a WCF service utilisting a wsHttpBinding with Transport Certificate security. I am having problems connecting to it with a console client - everytime I try to open the channel I get the following error: Forbidden with client authentication scheme 'Anonymous' InnerException: The remote server returned an error: (403) Forbidden I have taken the following steps to set up the server: * Acquired a...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7738
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5861
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.