RE: PKCS Certificates
From: Mike Moore [Microsoft] (michmo@online.microsoft.com)
Date: 02/19/03
- Next message: andrew: "Re: Programmatically creating a user account."
- Previous message: Mike Moore [Microsoft]: "RE: PKCS Certificates"
- In reply to: Hodge: "PKCS Certificates"
- Next in thread: Hodge: "RE: PKCS Certificates"
- Reply: Hodge: "RE: PKCS Certificates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: michmo@online.microsoft.com ("Mike Moore [Microsoft]") Date: Tue, 18 Feb 2003 23:36:16 GMT
Hi Hodge,
What is the client? From reading your post, we think your client is an
XMLHttp object. If your client is running in the context of a service, then
it has no user registry hive and cannot access the client certificate.
The following article describes some of the limitations of using
Microsoft.XMLHTTP objects for server to server communication.
PRB: Loading Remote XML or Sending XML HTTP Requests from Server Is Not
Supported
http://support.microsoft.com/?id=237906
Does that answer your question?
The application that is creating the HttpWebRequest, is it a Windows
application?
Thank you, Mike Moore
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
>Content-Class: urn:content-classes:message
>From: "Hodge" <tony@exactconsulting.co.uk>
>Sender: "Hodge" <tony@exactconsulting.co.uk>
>Subject: PKCS Certificates
>Date: Sun, 16 Feb 2003 14:37:31 -0800
>Lines: 14
>Message-ID: <00ec01c2d60b$fdf08d60$a501280a@phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Thread-Index: AcLWC/3wMhIXjYdLRUyz1insLJEqFA==
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>Path: cpmsftngxa06
>Xref: cpmsftngxa06 microsoft.public.dotnet.framework.aspnet.security:3978
>NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>I'm trying to connect to an HTTPS site in order to post
>an XML stream to it. I have the required client PKCS
>certificate and can connect to the site using IE
>(although it does prompt me to select a certificate to
>use).
>
>Now, I want to code this to automatically send the XML to
>the server, but my problem is that when I try to use the
>HttpWebRequest and add the exported .cer file to the
>ClientCertificates collection, my connection fails.
>
>Can anyone point me in the right direction please?
>
>Hodge.
>
- Next message: andrew: "Re: Programmatically creating a user account."
- Previous message: Mike Moore [Microsoft]: "RE: PKCS Certificates"
- In reply to: Hodge: "PKCS Certificates"
- Next in thread: Hodge: "RE: PKCS Certificates"
- Reply: Hodge: "RE: PKCS Certificates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|