Elendev / composer-push

Provide a `push` command to composer to push to repositories
Apache License 2.0
48 stars 30 forks source link

Cannot push because of "cURL: 60 SSL" error. #47

Closed mjbezer closed 3 years ago

mjbezer commented 3 years ago

I did a push, but it is returning an error:

[GuzzleHttp\Exception\RequestException]                                                                                                                               
  cURL error 60: SSL certificate problem: self signed certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nexus.(...)

Include "config" in composer.json, but apparently it had no effect

 "config": {
        "secure-https":false
    },

What can I do?

Elendev commented 3 years ago

Hello @mjbezer,

That's a good point, currently the plugin doesn't take in account this parameter. You can either propose a PR with a fix, or wait until I've refactored part of the code and integrated this. It should be fixed in a few days if everything goes as expected.

Sorry for the inconvenience