Coilpack icon indicating copy to clipboard operation
Coilpack copied to clipboard

Problem installing EE w/ Coilpack setup

Open Zignature opened this issue 1 year ago • 2 comments

I have to do a separate EE installation because it will not install when running php artisan coilpack.

This is the error I got:

 Would you like to install ExpressionEngine or choose an existing installation [install]:
  [0] install
  [1] choose
 > 0


   GuzzleHttp\Exception\RequestException

  cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.github.com/repos/expressionengine/expressionengine/releases

  at vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:276
    272▕
    273▕         // Create a connection exception if it was a specific error code.
    274▕         $error = isset($connectionErrors[$easy->errno])
    275▕             ? new ConnectException($message, $easy->request, null, $ctx)
  ➜ 276▕             : new RequestException($message, $easy->request, $easy->response, null, $ctx);
    277▕
    278▕         return P\Create::rejectionFor($error);
    279▕     }
    280▕

  1   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:205
      GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle))

  2   vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:157
      GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))

According to curl.se: The remote server's SSL certificate or SSH fingerprint was deemed not OK

I'm running: Windows 11 Pro PHP 8.3.10 Laravel 10.48.22 Coilpack 1.4.1

Zignature avatar Sep 25 '24 06:09 Zignature

Hmm I can't imagine Github's api is having an SSL issue, this is the url it was curling https://api.github.com/repos/expressionengine/expressionengine/releases

Most often this error is encountered when connecting to a site with a self-issued certificate and the solution is to not verify the certificate authority. But I don't think that's an option here as Github should have a valid certificate and we definitely want to verify that it's coming from a trusted authority.

Are you running inside a Docker container?

bryannielsen avatar Sep 25 '24 14:09 bryannielsen

It struck me as odd too...

I'm not running inside a Docker container, just plain Windows. Of course I'm perfectly capable of installing EE myself, so no biggy 😃

Zignature avatar Sep 25 '24 18:09 Zignature

I'm going to close this for now because I haven't been able to reproduce it. If you have any additional information or if anyone else experiences it please feel free to reopen the issue.

bryannielsen avatar Jan 14 '25 18:01 bryannielsen