When I use Octave 3.8.1 installed in Cygwin, I can successfully download https pages like this:
urlwrite('https://www.google.com', 'downloaded.html')
However, when I use Octave 3.6.4 installed in Windows 7 SP1 Pro 64bit, urlwrite() doesn't work:
octave-3.6.4.exe:18> urlwrite('https://www.google.com', 'downloaded.html')
error: urlwrite: curl: Problem with the SSL CA cert (path? access rights?)
urlread() has the same problem. Is there a good way to avoid this error?
Update:
Following Andy's advice, I tried to fix a curl-related problem. At the moment, curl.exe can work for https, but libcurl (I think embedded in octave) doesn't work for https. let me explain what I did.
I downloaded curl.exe from here. At first, it doesn't work for https like this:
C:\somewhere\curl-7.33.0-win64-nossl>curl https://www.google.com/
curl: (1) Protocol https not supported or disabled in libcurl
After I downloaded "cacert.pem" from here, renamed it to "curl-ca-bundle.crt", and put it in C:\windows\system32, curl.exe can extract pages from https sites.
However, when I use urlwrite() in Octave, it's still not working. I guess that octave internally calls libcurl API, but I don't know how to force libcurl to find CA certs.