On September 30, 2021 popular DST Root CA X3 SSL certificate expired, which made a lot of old server systems fail when communicating with others via SSL/TSL protocol because successful secure connection requires both parties to update the expired certificate:
DST Root CA X3 Expiration (September 2021)
In the case of KoolReport's private repository server, which hosts our private packages and KoolReport Pro, we have a newer operating system which doesn't use the old DST Root CA X3 certificate. But if your server is pretty old and still use the expired certificate it won't be able to run composer install because by default composer use SSL/TLS to connect to repository servers. In such cases you have two solutions:
1 . Update the certificate. For example with Ubuntu server run the following terminal commands:
sudo rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt
sudo update-ca-certificates
You can search update solutions for other systems.
2 . Try to turn off SSL/TLS connection by composer with these commands before running composer install:
composer config --global disable-tls true
composer config --global secure-http false
If you tried both methods and still could not run composer install or update successfully let us know in this topic. Rgds,