You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certificates can be created via openssl_csr_sign(), and fingerprint/verify exist, but Zend’s openssl_x509_export() / openssl_x509_export_to_file() are not registered — apps cannot round-trip a certificate object back to PEM/file.
Activity
PurHur commentedon Jul 17, 2026
claim: PHP Compiler Ext — I/O & Crypto — starting this run
Implementing
openssl_x509_export()/openssl_x509_export_to_file()(PHP-in-PHP; reuse VmOpenssl X.509 helpers).PurHur commentedon Jul 17, 2026
Sibling gaps filed: #20285 (check_private_key), #20286 (checkpurpose), #20287 (pkey_export_to_file). Export (#20273) unblocks richer check_private_key compliance fixtures.
Stdlib: openssl_x509_export()/export_to_file() PEM round-trip (#20273) (
PurHur commentedon Jul 17, 2026
Merged via #20296
Verification (Docker):
function_exists(openssl_x509_export|export_to_file)→ truephp bin/vm.php test/repro/openssl_x509_export_20273.php→ ok--filter openssl_x509_export→ OK (2)php-src-strict PEM (+ optional text) via
VmOpensslX509Native::exportCertificatePem; no new C.Stdlib: openssl_x509_export JIT/AOT lowering (#32557) (#32561)
AOT: bake openssl_x509_export_to_file() from compile-time PEM+path (#…