[GIT-PULLS] [php-src] PR #22873: Regenerate the expired ext/ftp/tests/cert.pem

[email protected] (iliaal) Thu, 23 Jul 2026 15:17:06 +0000
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/22873
Author: iliaal

The self-signed certificate the FTP test server presents (ext/ftp/tests/cert.pem, loaded by server.inc) was generated in 2016 with a ten-year validity and expired on 2026-07-23 12:37 UTC, so ext/ftp/tests and the ftps:// stream tests (ext/standard/tests/streams/opendir-003 and -004) now fail the TLS handshake with "certificate expired" on every branch. This regenerates it as a self-signed CN=127.0.0.1 certificate valid for another ten years.

    openssl x509 -in ext/ftp/tests/cert.pem -noout -checkend 0   # was: expired