- save ca-bundle.crt to your local path
- double click ca-bundler.crt to import it
- add the two line to php.ini
curl.cainfo=d:/download/ca-bundle.crt
openssl.cafile=d:/download/ca-bundle.crt
- try to install composer-setup.exe agin.
Ctrl+c,Ctrl+v expert!
curl.cainfo=d:/download/ca-bundle.crt
openssl.cafile=d:/download/ca-bundle.crt