Method HostCertificate is not called - WeOnlyDo Discussion board

Method HostCertificate is not called (General questions)

by Michal, Tuesday, April 01, 2008, 13:45 (6080 days ago)

I am using Deplhi 5. I have implemented interface IwodHttpNotify.
Excerpt from the code:
...
wod.Secure := WodHttpDLXComLib_TLB.ProtAll; // https commection
...
// during the execution the value of wod.State is changing 0->1->2->3->4->5->6->2
wod.Connect;
// Now the wod.State is 2 (Connected - idle)
// The method HostCertificat was not called so far!

...
wod.Post(...); // Now the method HostCertificate is called
//More precisely when HostCertificate is called the wod.State is 4 (Sending body data) - so I am sending data to the unchecked server.

Why the method HostCertificate is not called during wod.Connect?

Thanks,
Michal

Re: Method HostCertificate is not called

by wodDamir, Tuesday, April 01, 2008, 14:01 (6080 days ago) @ Michal

Hi Michal,

Can we somehow duplicate this?

Can you try explicitly setting Secure property? Does that change anything?

Is it possible that you create a debugfile and send it to us at techsupport@weonlydo.com ?

You can do that by doing something like this before calling Connect method:

wodHttp1.DebugFile := 'C:debug.txt';

Regards,
Damba