MSYS2-packages
MSYS2-packages copied to clipboard
Pacman- SSL certificate problem.
Describe the issue
SSL certificate problem.
Steps to Reproduce the Problem
When I execute "pacman -Syu", it shows alot of errors related to SSL certificate problem. How can I solve this issue?
- Download MSYS2 here https://www.msys2.org/
- Install it
- Execute bellow command.
pacman -Syu
- Errors: :: Synchronizing package databases... error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL certificate problem: self signed certificate in certificate chain error: failed retrieving file 'mingw32.db' from downloads.sourceforge.net : SSL certificate problem: self signed certificate in certificate chain error: failed retrieving file 'mingw32.db' from www2.futureware.at : SSL certificate problem: self signed certificate in certificate chain error: failed retrieving file 'mingw32.db' from mirror.yandex.ru : SSL certificate problem: self signed certificate in certificate chain error: failed retrieving file 'mingw32.db' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: self signed certificate in certificate chain
Solved: Solution: Copy certificate of https://www.msys2.org/ to ca-bundle.crt file in C:\msys64\usr\ssl\certs
In my setup, those are already in that path.
Solved: Solution: Copy certificate of https://www.msys2.org/ to ca-bundle.crt file in C:\msys64\usr\ssl\certs
I copied the cert to the according folder but I still get the cert error. Would you provide me how to export the cert from www.msys2.org? Maybe i did something wrong...
Is it not required to copy certificates manually. Try to update the packages with pacman -Syyu
twice or use new installer from the website.