Question about client certificates retrieval process in ASP.NET



Hi all,

I'm developing a web application (ASP.NET, VB.NET) with client
authentication based on personal certificates. My web server (IIS 5.0) is
configured correctly to perform the authentication but here it is my
problem:
To retrieve the client certificate in server I can use the traditional
method (method one) (that is calling
Request.ClientCertificate("CERTIFICATE")) or I can use the Certificate field
of HTTPClientCertificate framework class (method
two)(Request.ClientCertificate.Certificate). First method returns a String
and the second one returns an array of bytes (Byte()).
Well, I would like to know if it's possible (and, of course, how to get it)
to transform the result of the first method into the result of the second
one and vice-versa.

Thanks
Happy New Year from Spain


.



Relevant Pages

  • Re: Quick Start certificate
    ... I have enabled diagnostics on the client and the web service. ... Did you give your web server identity permission to ... read the certificate on the server? ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Quick Start certificate
    ... Where do I specify what the root path is. ... Then run the client. ... Did you give your web server identity permission to ... It's done through the certificate tool that's installed ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: LDP client authentication fails
    ... The remote server has requested SSL client authentication, ... I have copied the personal certificate as follows: ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDP client authentication fails
    ... I got the LDP working with LDAP server under server client authentication ... I did not installed the certificate in pfx format .. ... Client cert auth won't work without that. ...
    (microsoft.public.windows.server.active_directory)
  • RE: Client certificate authentication
    ... "SSPI Mutual Authentication Is Indicated on the Client Side But Not on the ... I have seen an known issue of AcceptSecurityContext() not return ... successfully able to map the certificate to a user account in AD. ...
    (microsoft.public.platformsdk.security)