Things have gone strangely pear shaped here and I cannot get it back on the rails. I uninstalled composer and now cannot reinstall. Upon each attempt I am told that the certificate failed to verify. I have Googled and Googled and Googled and Googled and tried this and tried that and tried something else and tried that over there.
Can I set up a development environment without composer?
I’m afraid it’s going to be virtually impossible to help without knowing a lot more about what you’re attempting. Can you provide information such as what operating system, what kind of development stack you’re trying to build, are you just using Docker or are you also using something like ddev, etc.
What steps have you taken to get to this point, what error messages are you seeing, etc.
A quick guess: check the date on your OS. Certificates are bound to specific time periods: having set a wrong date triggers all sort of validation problems.
I am on Windows 11, php 8.4.5, and I am trying to change my development environment to Docker. I am deeply regretting this.
I uninstalled Composer and now cannot re install.
The “https://getcomposer.org/versions” file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed
I have downloaded certificates. I have modified my php.ini file to point to the certificates (eg. cafile, etc). I have checked the clock settings. They are set to automatic. I have installed the certificates through Microsoft Management Console. I have temporarily disabled my anti-virus.
I just don’t think I can solve the Composer issue on this machine.
I’m not doing anything fancy with Silverstripe. Can I just download a basic site and run with that?
I have Norton’s. I temporarily disabled the autoprotect and firewall thinking that was everything. In one of the Googling attempts someone mentioned a safe web option of Norton’s. In an act of sheer desperation I checked my Norton’s, thinking that was an option in a different version.
NOT SO! There it was. I temporarily disabled that and BOB’S YOUR UNCLE!