Loading composer repositories with package information
The "https://repo.packagist.org/packages.json" file could not be downloaded: Peer certificate CN=`packagist.org' did not match expected CN=`repo.packagist.org'
Failed to enable crypto
failed to open stream: operation failed
https://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
when i have
{
"type": "composer",
"url": "https://asset-packagist.org"
}
in my composer.json
same issue
Same, seems the cert is broken. Can bypass the check but i dont think it is wise to run it
composer config --global disable-tls true
composer config --global secure-http false
composer config --global repo.packagist composer http://packagist.org
Sorry about that, it's been fixed. Please do not disable secure-http. If you ran the comment above run this to undo it:
composer config --global disable-tls --unset
composer config --global secure-http --unset
composer config --global repo.packagist --unset
@Seldaek great! will undo right away. However i couldnt wait since the complete development pipeline was down
Most helpful comment
Sorry about that, it's been fixed. Please do not disable secure-http. If you ran the comment above run this to undo it: