Page 1 of 1
Can not load a URL
Posted: Mon Aug 24, 2020 11:16 am
by egold2005
Hello,
I have tried to load my https URL using Simple demo and nothing happens. However i can load it in Chrome browser just fine. The URL contains HERE mapping code in ASP page. Any ideas?
Thanks a lot!
Re: Can not load a URL
Posted: Mon Aug 24, 2020 12:07 pm
by salvadordf
Hi,
I have no experience with HERE mapping code but it would be helpful if you could provide the URL to try to reproduce that issue.
Try the official CEF sample application to see if it works :
http://opensource.spotify.com/cefbuilds ... nt.tar.bz2
Re: Can not load a URL
Posted: Mon Aug 24, 2020 12:26 pm
by Student
There may be a missing dll for working with https in the application directory.
Try putting libraries in your program's catalog libeay32.dll, ssleay32.dll for your bit app.
Re: Can not load a URL
Posted: Mon Aug 24, 2020 1:05 pm
by egold2005
Student wrote: Mon Aug 24, 2020 12:26 pm
There may be a missing dll for working with https in the application directory.
Try putting libraries in your program's catalog libeay32.dll, ssleay32.dll for your bit app.
This is not the case, because it opens other URLs with https:// just fine.
I am using unmodified SimpleBrowser demo project.
Re: Can not load a URL
Posted: Mon Aug 24, 2020 1:52 pm
by egold2005
Actually i did modify SimpleBrowser project and removed popup handling code, to see if it displays any security warnings. Did not help...
Re: Can not load a URL
Posted: Tue Aug 25, 2020 6:16 am
by egold2005
i tried the suggested demo browser from the link above and got certificate error:
Page failed to load.
URL: (My URL)
Error: ERR_CERT_AUTHORITY_INVALID (-202)
X.509 Certificate Information:
Field Value
Status CERT_STATUS_COMMON_NAME_INVALID
CERT_STATUS_DATE_INVALID
CERT_STATUS_AUTHORITY_INVALID
Re: Can not load a URL
Posted: Tue Aug 25, 2020 7:56 am
by salvadordf
The certificate in that website has several invalid fields.
You should be able to avoid those problems if you set GlobalCEFApp.IgnoreCertificateErrors to TRUE before the GlobalCEFApp.StartMainProcess call in the DPR file.
You can also implement the TChromium.OnCertificateError event to ignore that particular error if you don't want to ignore all certificate errors.
Read this for more information about that event :
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)
Re: Can not load a URL
Posted: Tue Aug 25, 2020 8:03 am
by egold2005
salvadordf wrote: Tue Aug 25, 2020 7:56 am
The certificate in that website has several invalid fields.
Thank you Salvador.