SSL-Vorgang mit Code 1 | fehlgeschlagen Selbstsigniertes Zertifikat in der Zertifikatkette

667
remedcu

Spezifikation: Windows 10 | Wamp | PHP 7.1.9

Es wurde versucht, Laravel 5.5 mithilfe der online bereitgestellten Dokumentation zu installieren.

Jedes Mal, wenn ich " composer global require "laravel/installer"" starte, erhalte ich das Folgende als Ausgabe:

Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 70 installs, 0 updates, 0 removals - Installing vlucas/phpdotenv (v2.4.0): Downloading (failed) Downloading (failed) Downloading (failed) Failed to download vlucas/phpdotenv from dist: The "https://api.github.com/repos/vlucas/phpdotenv/zipball/3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed Now trying to download from source - Installing vlucas/phpdotenv (v2.4.0): Cloning 3cc116adbe   [RuntimeException] Failed to clone https://github.com/vlucas/phpdotenv.git via https, ssh protocols, aborting.  - https://github.com/vlucas/phpdotenv.git Cloning into 'C:\wamp\www\newsite\vendor\vlucas\phpdotenv'... fatal: unable to access 'https://github.com/vlucas/phpdotenv.git/': SSL certificate problem: self signed certific ate in certificate chain  - git@github.com:vlucas/phpdotenv.git Cloning into 'C:\wamp\www\newsite\vendor\vlucas\phpdotenv'... Permission denied (publickey). fatal: Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists.   update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]... 

Ich habe viele der online angebotenen Lösungen ausprobiert, und die meisten sagen dazu:

Laden Sie die neue Datei cacert.pem herunter und fügen Sie sie zu "C: \ wamp \ bin \ php \ php7.1.9 \ extras \ ssl \" hinzu. Aktualisieren Sie anschließend die Datei php.ini wie folgt:

curl.cainfo ="C:\wamp\bin\php\php7.1.9\extras\ssl\cacert.pem" openssl.cafile="C:\wamp\bin\php\php7.1.9\extras\ssl\cacert.pem" 

Irgendwelche Lösung dafür?

0

0 Antworten auf die Frage