Client Certificate with HTTPS request - MSXML - Urgent

Posted on 2005-05-16
Last Modified: 2008-01-09
Hi all,

Using VB6

I have to send a name of a Client Certificate along with HTTPS request .  In the egs suggest to do this is using "setOption"
objHTTP.setOption SXH_OPTION_SELECT_CLIENT_SSL_CERT, CertificateFileName

This "setOption" is part of the "MSXML2.ServerXMLHTTP " and everytime I try to send requests, an error message comes up "This server does not implement the requested method".  What is this error ? Is there any other way that I can send this CertificateName within VB6.  If I use MSXML.XMLHTTP, I can send requests, but unable to send the certificate name.

Thaks a lot

Note: I had this under the wrong topic befopre, hopefully will get some answers this time.
Question by:indikad
    LVL 23

    Expert Comment

    use the WinHTTP.WinHTTPRequest.5.1 object instead in VB6.

    Author Comment

    Thank you for this.


    Author Comment

    I did use the latest version of MSXML Version 4 with SP2.  The object is MSXML2.ServerXMLHTTP40 and this has the method setOption to set the name of the Client Certificate.  This works fine in VB6.  I did not try WinHTTP object for this.
    Is there any advantage/difference with these two object?

    LVL 23

    Accepted Solution

    it is the same object under the covers. It is recommended to use this object esp. when applying SP2. In some boxes, it caused ServerXMLHTTP to get mucked up inside the registry.

    Author Comment

    Thanks for the this.
    I have alsready done this project using MSXML2.ServerXMLHTTP40.  May be next time I might try this method.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    This video discusses moving either the default database or any database to a new volume.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now