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