GithubHelp home page GithubHelp logo

Comments (5)

Seldaek avatar Seldaek commented on August 26, 2024

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?

from packagist.

VidurK2 avatar VidurK2 commented on August 26, 2024

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

from packagist.

Seldaek avatar Seldaek commented on August 26, 2024

from packagist.

VidurK2 avatar VidurK2 commented on August 26, 2024

Is there an

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 anything i can do to fix that, or someone on an admin level can do? If yes, then how do i describe the issue

from packagist.

Sicklou avatar Sicklou commented on August 26, 2024

Hello,

I've got the same issue too with repo.packagist.org : SSL certificate problem: unable to get local issuer certificate with a proxy.

When I launch this command :
curl -x xxxxx.myproxy.com https://repo.packagist.org --cacert C:/DevEnv/SSL/caCert.pem -vvv
the error happened.
But the same command trying to connect to api.github.com is working fine.

And if I try to connect to connect to packagist without the proxy, it works.
But I can't tell composer to avoid using the proxy with packagist, and using it with github.

Here is what I get :

*   Trying 163.116.242.82:8081...
* Connected to xxxxx.myproxy.com (163.116.242.82) port 8081 (#0)
* allocate connect buffer!
* Establish HTTP proxy tunnel to repo.packagist.org:443
> CONNECT repo.packagist.org:443 HTTP/1.1

> Host: repo.packagist.org:443

> User-Agent: curl/7.75.0

> Proxy-Connection: Keep-Alive

> 

< HTTP/1.1 200 Connection Established

< 

* Proxy replied 200 to CONNECT request
* CONNECT phase completed!
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: C:/DevEnv/SSL/caCert.pem
*  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* CONNECT phase completed!
* CONNECT phase completed!
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2652 bytes data]
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
} [2 bytes data]
* SSL certificate problem: unable to get local issuer certificate

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

If @Seldaek knows something about this ! Thanks

from packagist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.