Hi Statalisters,

I have some problems at importing data directly from internet.
I am using Stata in my company laptop, and I need to set up a proxy to avoid the company firewall. Therefore, I set the http proxy via netio:

Code:
set httpproxyhost my_proxy_host
set httpproxyport my_port
set httpproxyuser my_username
set httpproxypw   my_password
set httpproxy on
set httpproxyauth on
The proxy is correctly set. Nonetheless, I have problems at importing data from https URLs.

For instance, this code works fine:
Code:
import delimited http://www.stata.com/examples/auto.csv, clear
Whereas the following lines of code do not work:
Code:
import delimited https://covid.ourworldindata.org/data/owid-covid-data.csv, clear
import delimited https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv, clear

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
could not open url
r(603)
I guess I need to set also a proxy for https website.
Do you know how to set an https proxy, or a workaround to solve this issue? I looked for a solution in help netio but I could not find anything.

My version of Stata is
Code:
. about
Stata/MP 16.0 for Windows (64-bit x86-64)
Revision 16 Oct 2019
Thanks in advance for your help!