title: urlread(), urlwrite() don't work for https pages in Octave for Windows
body: <p>When I use Octave 3.8.1 installed in Cygwin, I can successfully download https pages like this:</p>
  
  <pre><code>urlwrite('https://www.google.com', 'downloaded.html')
  </code></pre>
  
  <p>However, when I use Octave 3.6.4 installed in Windows 7 SP1 Pro 64bit, urlwrite() doesn't work:</p>
  
  <pre><code>octave-3.6.4.exe:18&gt; urlwrite('https://www.google.com', 'downloaded.html')
  error: urlwrite: curl: Problem with the SSL CA cert (path? access rights?)
  </code></pre>
  
  <p>urlread() has the same problem.
  Is there a good way to avoid this error?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>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.</p>
  
  <p>I downloaded curl.exe from <a href="http://curl.haxx.se/latest.cgi?curl=win64-ssl-sspi" rel="nofollow">here</a>. At first, it doesn't work for https like this:</p>
  
  <pre><code>C:\somewhere\curl-7.33.0-win64-nossl&gt;curl https://www.google.com/
  curl: (1) Protocol https not supported or disabled in libcurl
  </code></pre>
  
  <p>After I downloaded "cacert.pem" from <a href="http://curl.haxx.se/docs/caextract.html" rel="nofollow">here</a>, renamed it to "curl-ca-bundle.crt", and put it in C:\windows\system32, curl.exe can extract pages from https sites.</p>
  
  <p>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.</p>