1. SSL access
- Posted by Pete Stoner <stoner.pete at gmail.com> Jan 31, 2007
- 564 views
Hi Guys, I need to be able to read a web page using SSL (https). For my normal FTP and http access I've been using Einetlib by Fabio Ramirez which works great, but I can't get it to work to an https page. it always complains about an invalid certificate with a ERROR_INTERNET_INVALID_CA error. As per the wininet API I tried adding some 'ignore' flags to my openurl as below hFile= InternetOpenUrl({ {"session_id",hConn}, {"url","https://mypage..."}, {"flags", net_or_all({INTERNET_FLAG_RELOAD, INTERNET_FLAG_IGNORE_CERT_CN_INVALID, INTERNET_FLAG_IGNORE_CERT_DATE_INVALID}) }}) Still doesn't work, so then I tried EuLibCurl, but it seems the libcurl Dll is built without SSL support. I tried downloading an SSL version and replacing the original with that (don't know what I'm doing but it was worth a try!), but then I it can't open the dll.. Any suggestions from you clever guys? PeteS
2. Re: SSL access
- Posted by Julio C. Galaret Viera <galaret at adinet.com.uy> Feb 01, 2007
- 569 views
Some time ago I was updating EuLibCurl but stopped in favor of other projects. The box where it was crashed and I don't know if I can recover files from it. However, before crashing I sent the (unfinished) wrapper with SSL libs to Craig Welch who told me it was working fine. Please, ask Welch to send you the wrapper along with the libs. JG