Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6123913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:04:21+00:00 2026-05-23T16:04:21+00:00

A certain SOAP webserver I want to reach is configured to ‘Accept client certificates’

  • 0

A certain SOAP webserver I want to reach is configured to ‘Accept client certificates’ but does not require them!

When I enter the URL directly into Internet Explorer it will show a pop up for a client certificate (which I do not have). When I cancel this dialog a second dialog pops up for a username and password. This work fine with my username and password.

I am trying to do the same from within a script using ServerXMLHTTP

var objXMLHTTP = new ActiveXObject("MSXML2.ServerXMLHTTP.6.0") // or 4.0
objXMLHTTP.open("POST",
                "https://www.example.com",
                false,
                "username",
                "password");
objXMLHTTP.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
//   objXMLHTTP.setOption(2) = 13056; // This does not help
objXMLHTTP.send(XMLReq); // This fails

The error message is msxml6.dll: An unknown error occurred while processing the certificate. or msxml6.dll: A connection with the server could not be established

How can I get ServerXMLHTTP to ignore the optional(!) request for the client-certificate and proceed with the basic authentication? Or what other component can I use?

Notes:

  • I cannot change settings on the webserver or get a client-certificate.
  • I also tried WinHTTP.WINHTTPRequest.5.1 but that did not help.
  • Remember: this question is about client certificates. objXMLHTTP.setOption(2) = 13056 will only ignore server certificate errors.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:04:22+00:00Added an answer on May 23, 2026 at 4:04 pm

    To keep you updated and for future reference: i gave up.

    As far as I came to understand, it can be done using the more lowlevel win32 WinHTTP API.
    My guess: I need to so something with the setting WINHTTP_OPTION_CLIENT_CERT_CONTEXT from http://msdn.microsoft.com/en-us/library/aa384066%28VS.85%29.aspx but the serverxmlhttp API is to limited to support it.

    In the end I was able to create a client certificate and have it trusted by the SOAP-server

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am fairly new to Groovy (but already loving it). I am not new
I want to be able to mask a certain field from the current message
I want to do VACUUM at a certain time on a SQLite database under
I really need to add a certain namespace to a SOAP Envelope which is
I'm writing a .Net C# application that will make SOAP calls to a configured
I'm certain this is a dumb newbie question, but this is the first time
Certain methods in Java will block until they can do something, like ServerSocket.accept() and
Certain Vaadin addons, such as Invient Charts (https://vaadin.com/directory#addon/invient-charts), require the inclusion of javascript libraries
Certain list comprehensions don't work properly when I embed IPython 0.10 as per the
In certain types of code (e.g. simulation/ games/ optimization), many physical quantities/properties are stored,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.