-
Notifications
You must be signed in to change notification settings - Fork 115
Use composer/ca-bundle for certificates checks #77
Conversation
This doesn't seem to have fixed the issue on travis for me (re. #75) see https://travis-ci.org/jenkoian/flysystem-gaufrette/builds/217122781 |
@tucksaun I have just tried running your branch through Travis CI, unfortunately this hasn't resolved the issue. Still receiving |
This should fix the |
Hmm... strangely, this fixes the issue on my local dev environment, but not on circleci:
|
@jenkoian thanks for your build link, it helped me to reproduce it and iterate on it :) So we actually hit two issues here: one is because some distributions can have an empty CA bundle and thus can not check the certificate, this PR is fixing this case. The other one is that PHP build by Travis can not negotiate TLS handshake (see travis-ci/travis-ci#6339). And we can't do anything from here. I tried several SSL version settings and nothing worked. Travis-CI or circle-ci now needs to update their builds. |
Thank you @tucksaun. |
This PR was merged into the 4.0-dev branch. Discussion ---------- Use composer/ca-bundle for certificates checks Should fix #75 Commits ------- 204c3ba Use composer/ca-bundle for certificates checks
Many thanks @tucksaun, this is working now in my Travis builds by using the http end-point. |
Reported this issue to circleci as well. |
The SensioLabs security checker has switched to Lets Encrypt, which has broken some things Most issues have been fixed, but Travis still needs to offer ssl capabilities to PHP See: https://github.com/sensiolabs/security-checker/issues/73, travis-ci/travis-ci#6339, sensiolabs/security-checker#77 (comment)
The SensioLabs security checker has switched to Lets Encrypt, which has broken some things Most issues have been fixed, but Travis still needs to offer ssl capabilities to PHP See: https://github.com/sensiolabs/security-checker/issues/73, travis-ci/travis-ci#6339, sensiolabs/security-checker#77 (comment)
Otherwise An error occurred: gnutls_handshake() failed: A TLS fatal alert has been received... See sensiolabs/security-checker#77
Otherwise An error occurred: gnutls_handshake() failed: A TLS fatal alert has been received... See sensiolabs/security-checker#77
Otherwise An error occurred: gnutls_handshake() failed: A TLS fatal alert has been received... See sensiolabs/security-checker#77
Travis builds fail with the error message: An error occurred: gnutls_handshake() failed: A TLS fatal alert has been received. Until a version of security checker is available which fixes this issue, we use a http endpoint. See: sensiolabs/security-checker#77
Downgrading to HTTP is a (temporary) fix and should be removed once TLS is supported on Travis. See: travis-ci/travis-ci#6339 sensiolabs/security-checker#77 (comment)
Downgrading to HTTP is a (temporary) fix and should be removed once TLS is supported on Travis. See: travis-ci/travis-ci#6339 sensiolabs/security-checker#77 (comment)
seems an issue with Travis-CI it self that has nothing to do with Symfony travis-ci/travis-ci#6339 sensiolabs/security-checker#77 (comment)
Should fix #75