I am beginning to think that this is due to the corporate proxy server that replaces SSL certificates in order to perform deep content inspection.
Issues with Sail: curl 60 SSL certificate problem: self signed certificate in certificate chain
I am installing Laravel via Sail on a new (to me) Macbook OSX 12.6.1. The shell script is able to run and install the "laravelsail/php81-composer", and run that container. Once in that container, it tries to run "laravel run <project_name>", and that is when the error is generated:
Creating a "laravel/laravel" project at "./example-app"
https://repo.packagist.org could not be fully loaded (curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: self signed certificate in certificate chain), package information was loaded from the local cache and may be out of date
In CurlDownloader.php line 358:
curl error 60 while downloading https://repo.packagist.org/p2/laravel/larav
el.json: SSL certificate problem: self signed certificate in certificate ch
ain
I've been beating my head against a wall trying to figure this out all afternoon. Any thoughts?
Also - could it be an issue related to this commit that was done 5 hours ago? https://github.com/laravel/sail/commit/72412b14d6f4e73b71b5f3068bdb064184fbb001
Thank in advance
Fixed this. Had to modify the Dockerfile to copy the corporate certificate into the container, and sex proxy credentials in Docker Desktop/.
Please or to participate in this conversation.