RE: PKCS Certificates

From: Mike Moore [Microsoft] (michmo@online.microsoft.com)
Date: 02/20/03

  • Next message: Guogang: "Use Roles with Forms auth ans SQL?"
    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.
    >>>
    >>
    >>.
    >>
    >



    Relevant Pages

    • Re: how to export view to display - xml with specific xsd?
      ... Also xp_cmdshell runs on the server, ... SQL Server to a file and open the file in Word on the client machine. ... It opens up a ... XML to be generated in a Word-specific XML format. ...
      (microsoft.public.sqlserver.xml)
    • Re: XML->Dataset->Database
      ... latest configuration information and the server contains completed survey ... special database tables to control the flow of information, and using XML ... based on what needs to be sent to the client, ...
      (microsoft.public.dotnet.general)
    • Re: Arch question.
      ... If you do create seperate xml classes just for webservices ... ' NameInfo and get result as type HelloResult ... >> 1) On the server, I have my server classes that don't consider any xml. ... >> 4) The client has copy of xmldoc classes as needed. ...
      (microsoft.public.dotnet.framework.webservices.enhancements)
    • Re: DataSet and serialization is dangerous
      ... The dataset deserialization is based on XML. ... perl client, etc. ... Your server can only depend on the ... The client could have deleted/added Father1 a 100 ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: XmlBeans and the problem with Socket.getOutputStream()
      ... I have a server that waits for incoming ... > and then it waits for the response xml. ... > object on the client has finished sending data. ... So, to close the outputstream after the xml was sent, it ...
      (comp.lang.java.programmer)