ExpressionEngine / Coilpack

ExpressionEngine + Laravel: a powerful combination
https://expressionengine.github.io/coilpack-docs/
MIT License
21 stars 3 forks source link

Problem installing EE w/ Coilpack setup #21

Open Zignature opened 2 months ago

Zignature commented 2 months ago

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

bryannielsen commented 2 months ago

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?

Zignature commented 2 months ago

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 😃