RE: PKCS Certificates
From: Mike Moore [Microsoft] (michmo@online.microsoft.com)
Date: 02/20/03
- Previous message: Ryan: "Re: Forms Authentication: Require authentication on all pages but 1"
- In reply to: Hodge: "RE: PKCS Certificates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: michmo@online.microsoft.com ("Mike Moore [Microsoft]") Date: Wed, 19 Feb 2003 23:26:01 GMT
Hi Hodge,
XML data is usually converted from an object (such as XMLHttp) to a string
for transmission. I found an article that shows doing this with an XMLHttp
COM object.
290591 HOWTO: Submit Form Data by Using XMLHTTP or ServerXMLHTTP Object
http://support.microsoft.com/?id=290591
Does this answer your question?
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>
>References: <00ec01c2d60b$fdf08d60$a501280a@phx.gbl>
<OauV9Z61CHA.1460@cpmsftngxa06>
>Subject: RE: PKCS Certificates
>Date: Wed, 19 Feb 2003 01:04:33 -0800
>Lines: 87
>Message-ID: <013101c2d7f5$eb3343c0$2f01280a@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
>Thread-Index: AcLX9esw1R7AHJVjQ3q3mmg9EuVFCg==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>NNTP-Posting-Host: TK2MSFTNGXA01 10.40.1.47
>Path: cpmsftngxa08!cpmsftngxa06
>Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:4040
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>Hi Mike
>
>Thanks for picking up this thread.
>
>The client I am developing is a Windows Service running on
>a Windows 2000 Advanced Server. The article you pointed
>me at was helpful but did not suggest any way of
>accomplishing what I am trying to do.
>
>Do you have any suggestions?
>
>Hodge
>
>>-----Original Message-----
>>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: Guogang: "Use Roles with Forms auth ans SQL?"
- Previous message: Ryan: "Re: Forms Authentication: Require authentication on all pages but 1"
- In reply to: Hodge: "RE: PKCS Certificates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|