-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURL ERROR : SSL certificate problem: unable to get local issuer certificate #1381
Comments
How have you installed Composer? Because it seems like you have no pubkeys setup, and possibly also a missing CA bundle.. Try reinstalling it from scratch perhaps using the Composer-Setup.exe? |
All settings correct for using Composer Im getting this error when i try to php install composer-setup. Even the exe didnt work for me and gave me a certification error |
Then maybe you have some network or machine level firewall that actively
messes with ssl connections?
…On Sat, Jun 24, 2023, 11:44 Vidur Kaushik ***@***.***> wrote:
How have you installed Composer? Because it seems like you have no pubkeys
setup, and possibly also a missing CA bundle.. Try reinstalling it from
scratch perhaps using the Composer-Setup.exe?
All settings correct for using Composer
Downloading...
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
Retrying...
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
Retrying...
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
The download failed repeatedly, aborting.
Im getting this error when i try to php install composer-setup. Even the
exe didnt work for me and gave me a certification error
—
Reply to this email directly, view it on GitHub
<#1381 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABM27VI3UEEQ5O5ZHJD3MDXM2ZH5ANCNFSM6AAAAAAZP4NKWM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Is there an
Is there anything i can do to fix that, or someone on an admin level can do? If yes, then how do i describe the issue |
Hello, I've got the same issue too with repo.packagist.org : When I launch this command : And if I try to connect to connect to packagist without the proxy, it works. Here is what I get :
If @Seldaek knows something about this ! Thanks |
I am trying to do composer require phpspreadsheet. However it is giving me this error (upon typing composer diagnose -vvv). I have tried doing everything possible. Please help.
C:\xampp\php>composer diagnose -vvv
Running 2.5.8 (2023-06-09 17:13:21) with PHP 8.2.4 on Windows NT / 10.0
Reading ./composer.json (C:\xampp\php\composer.json)
Loading config file ./composer.json (C:\xampp\php\composer.json)
Checked CA file C:\xampp\php\extras\ssl\cacert.pem: valid
Executing command (C:\xampp\php): git branch -a --no-color --no-abbrev -v
Executing command (C:\xampp\php): git describe --exact-match --tags
Executing command (CWD): git --version
Executing command (C:\xampp\php): git log --pretty="%H" -n1 HEAD
Executing command (C:\xampp\php): hg branch
Executing command (C:\xampp\php): fossil branch list
Executing command (C:\xampp\php): fossil tag list
Executing command (C:\xampp\php): svn info --xml
Failed to initialize global composer: Composer could not find the config file: C:/Users/vidur.kaushik/AppData/Roaming/Composer/composer.json
Checking composer.json: Reading ./composer.json (C:\xampp\php\composer.json)
WARNING
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
require.wisembly/excelant : unbound version constraints (*) should be avoided
Checking platform settings: OK
Checking git settings: Executing command (CWD): git config color.ui
No git process found
Checking http connectivity to packagist: Downloading http://repo.packagist.org/packages.json
[200] http://repo.packagist.org/packages.json
OK
Checking https connectivity to packagist: Downloading https://repo.packagist.org/packages.json
FAIL
[Composer\Downloader\TransportException] curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get local issuer certificate
Checking github.com rate limit: Downloading https://api.github.com/rate_limit
FAIL
[Composer\Downloader\TransportException] curl error 60 while downloading https://api.github.com/rate_limit: SSL certificate problem: unable to get local issuer certificate
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking composer version: Downloading https://getcomposer.org/versions
FAIL
[Composer\Downloader\TransportException] curl error 60 while downloading https://getcomposer.org/versions: SSL certificate problem: unable to get local issuer certificate
Composer version: 2.5.8
PHP version: 8.2.4
PHP binary path: C:\xampp\php\php.exe
OpenSSL version: OpenSSL 3.0.8 7 Feb 2023
cURL version: 7.85.0 libz 1.2.12 ssl OpenSSL/3.0.8
zip: extension not loaded, unzip not available, 7-Zip present (7z)
The text was updated successfully, but these errors were encountered: