Open tahzabbani opened 3 years ago
hi, i got the same problem, so i tried the below step, maybe you don't need the 1st step
export http_proxy=<proxyip>:<port>
export https_proxy=<proxyip>:<port>
# See https://www.msys2.org/dev/mirrors
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/clang32/ Server = http://mirrors.ustc.edu.cn/msys2/mingw/clang32/
for above 2 steps, i can download all the packages in my companry, hoping can help you
I'm still unconvinced if this was my problem—since a direct inspection of the certificate chain with openssl s_client
didn't show any of my company's man-in-the-middle certs—but this workaround does seem to have worked for me.
Describe the issue
After downloading MSYS2 I try to run the initial
pacman -Syu
andpacman -Su
commands each file fails due to the SSL certificate problem.The output of
pacman -Su
is as shown:I have tried to use the command
pacman -S ca-certificates
but it also failed for the same problems. Is it possible to ignore the SSL verification?