Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: WW Client tools under VFP6 - Certificate Issue

$
0
0
Re: WW Client tools under VFP6 - Certificate Issue
FoxPro Programming
Re: WW Client tools under VFP6 - Certificate Issue
03/05/2012
06:03:44 PM
3G512PQYR Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

No unfortunately not. The code to do the cert ignoring can be done for 4.68, but i'd have to look up how that works. There was a bunch of work that was done in wwHttp for V5 that makes it easier to specify flags, but unfortunately that happened after 4.68 more than 7 years ago :-)

+++ Rick ---


Hi Rick,

thanks for the quick reply! Forgive my ignorance, but will V5 work with VFP6?

-Arne


Hi Arne,

We added logic for this in wwHttp after version 5. Version 5 and later has an lIgnoreCertificateWarnings flag that can be set after which certificate warnings are ignored.

+++ Rick ---



Hi there,

We have a legacy application in VFP6 that was using the WWHTTP.prg Version 4.26 and encountered a problem where an attempt to initiate an HTTPS connection threw an error:

12045 The certificate authority is not valid [...]

We had just renewed and installed a newly issued Thawte SSL certificate on the web server; on the web server side, we had to install an Intermediate CA file as certain browsers were having a problem with the CA and this has likely caused this problem with the existing application.

I have tried replacing WWCONNECT.h and WWHTTP.prg with V4.68 as that appears to support the parameter

lIgnoreCertificateWarnings

but I cannot find where to set that parameter to .T.

The parameter is not found anywhere in WWHTTP.prg *but* there is a definition in WCONNECT.h as:

#DEFINE INTERNET_FLAG_IGNORE_CERT_CN_INVALID 0x00001000

Does 4.68 support the ignore warnings parameter? If so, how do I set it. If not, any thoughts as to how to approach this?

TIA.

-Arne






Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii

Viewing all articles
Browse latest Browse all 10393

Trending Articles