Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Client Certificates

Reply
Thread Tools

Client Certificates

 
 
Emanuele Parati
Guest
Posts: n/a
 
      09-22-2003
Hi all.

I'm implementing a Web Service and a Client that comunicate with SSL.
The Client has a certificate that load with:
509Certificate.CreateFromCertFile("emanuele.cer")

Is there a way to obtain this Client Certificate directly in the Web
Service? I'd like to know the client that use my Web Service.

Thanks in advance,

Emanuele Parati
 
Reply With Quote
 
 
 
 
Mark Cranness
Guest
Posts: n/a
 
      09-27-2003
Emanuele Parati <> wrote in
news::

> Hi all.
>
> I'm implementing a Web Service and a Client that comunicate with
> SSL. The Client has a certificate that load with:
> 509Certificate.CreateFromCertFile("emanuele.cer")
>
> Is there a way to obtain this Client Certificate directly in the
> Web Service? I'd like to know the client that use my Web
> Service.


Use this server code to get the client cert sent:
(Should work, haven't tested it)

HttpContext context = HttpContext.Current;
HttpClientCertificate cert = context.Request.ClientCertificate;

Mark

I've found these links useful:
http://msdn.microsoft.com/library/en...ebservices.asp
http://msdn.microsoft.com/library/en...tpsecurity.asp

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
python xmlrpc client with ssl client certificates and standard modules News123 Python 9 02-15-2012 01:04 PM
Are SSL certificates and x.509 certificates the same? n33470 ASP .Net Web Services 0 12-14-2005 03:30 PM
VPN Client to PIX 515 - using certificates doesn't work Peter Cisco 7 08-29-2004 04:28 PM
VPN Client <> PIX 515 with certificates (long!) Patrick M. Hausen Cisco 0 08-16-2004 12:50 PM
Self-issued certificates and commercial certificates. Lord Amoeba Computer Security 2 05-05-2004 01:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57