On 02/12/2018 09:16, Stanislav Malyshev wrote:
Hi!

I am seeing tons of broken openssl tests on Travis CI. Example:
https://travis-ci.org/php/php-src/jobs/462367522

All errors seem to be the same:
001+ Warning: stream_socket_client(): SSL operation failed with code 1.
OpenSSL Error messages:
002+ error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed in
/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96)
: eval()'d code on line 10

Anybody knows anything about this?

Certificated that had been used for openssl tests, expired yesterday.
There are 2 ways to proceed, as I see it:

* generate new ones ASAP to get rid of false alarms;
* check if there's anything to be done to avoid this in the future.

To address the latter, certificates can be generated for each test run to make sure their expiration dates are never in the past but I'm not sure openssl binary has been a requirement for running tests, so maybe we're better off just generating another certificate for an upcoming decade or two.


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to