Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 05 JAN 2012 03:15:03PM Bruce Cameron wrote:

Hi all,

Happy New year!

One of the companies that we send payload data to via the above ServerXML object has renewed and created a new for there web service.

If we install the new certificate we now have 2 certificates for the same organization and the object doesn't know which one to use so we get an error back from the web service server.

It occurred to me that I never realized how the object knew what certificate to pick up anyway so my question is … is there a way to programmatically tell/set the certificate for the session? Also, if so, what do you use to identify the correct certificate? Serial Number?

I've tried a set option to ignore any certificate errors (just testing) but no luck.

x = OleCallMethod(OleObj,"setOption",3,"")

Should I be using a Create Object instead? Any help is appreciated.


At 05 JAN 2012 03:25PM Bruce Cameron wrote:

Sorry, I figured it out on my own. Answer is to use the setOption method, 3 and designate the certificate name.

x = OleCAllMethod(OOleObj,"setOption",3,"MYCERTNAME")


At 06 JAN 2012 09:49AM Bob Carten wrote:

Thanks Bruce, this is good to know.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ca60f76d000493c852ef74700.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1