Re: List client certificates



You need some ActiveX or script code that runs on the client to read a
user's client certificates. This code won't work running on the server. :)

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
<moises.cid@xxxxxxxxx> wrote in message
news:1151307841.572305.139170@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I'm developing a Web application with VStudio 2005 + .net 2.0 + IIS 6.0

In the Web application I've to digitally sign a pdf document with a
user certificate. In the page where I've to sign I list the user
certificates with this code:
------------------------------------------------------------------------------------
X509Store store = new X509Store(StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly);
X509Certificate2Collection certCollection = store.Certificates;
if (certCollection.Count < 1) {
lblMsg.Text = "No hay certificados 'Personales' Instalados.";
return; }
foreach (X509Certificate2 c in certCollection)
DDListCertifi.Items.Add(c.Subject);
------------------------------------------------------------------------------------
This code works fine in my Visual Studio local web server. I can see
the user certificates in the dropdownlist, but when I export the code
to other server, it doesn't works. I can't see the certificates in the
dropdown,

¿can anybody help me?

Thanks in advance. Moisés


.



Relevant Pages

  • Re: copy files from internet using authenticate certificates
    ... Just use ASP.NET on the server, configure your IIS server to use SSL and ... require client certificates. ... you'll need some kind of software that runs when the laptop ... > How I need to use these certificates is the confusing part. ...
    (microsoft.public.dotnet.general)
  • Re: Secure VPN access
    ... with it's security option for the client. ... After getting the VPN connection I check the Ip settings and found the ... point to the head ISP's DNS server. ... > Computer certificates for L2TP/IPSec VPN connections ...
    (microsoft.public.windows.server.sbs)
  • RE: L2TP/IPSEC site-to-site question
    ... seems more difficult on Windows and Isa 2000 mix, ... If I want to use certificates what type I have to use? ... > site-to-site VPN connection. ... > Site-to-Site VPN in ISA Server 2004 ...
    (microsoft.public.isa)
  • Re: Vista wireless using IAS and WPA-Enterprise
    ... certificates, which may be more than the limit that the IAS server can send ... on a Web site or if you use IAS in Windows Server 2003 ... Vista wireless using IAS and WPA-Enterprise ...
    (microsoft.public.windows.server.networking)
  • RE: L2TP/IPSEC site-to-site question
    ... Microsoft Internet Security and Acceleration (ISA) Server 2004 ... >site-to-site vpn connection. ... >My concerns are about the certificates part. ...
    (microsoft.public.isa)