Home
last modified time | relevance | path

Searched refs:cafile (Results 1 – 25 of 28) sorted by relevance

12

/PHP-7.4/ext/openssl/tests/
H A Dbug65538_002.phpt2 Bug #65538: SSL context "cafile" disallows URL stream wrappers
15 // on system cafile when opening stream.
16 'cafile' => 'http://www.nginx.org',
21 Warning: remote cafile streams are disabled for security purposes in %s on line %d
H A Dbug65538_001.phpt2 Bug #65538: SSL context "cafile" supports stream wrappers
45 'cafile' => 'file://%s',
H A Dbug69215.phpt19 'cafile' => '%s',
37 'cafile' => '%s',
H A Dbug65538_003.phpt2 Bug #65538: SSL context "cafile" supports phar wrapper
50 'cafile' => 'phar://%s/%s',
H A Dbug73072.phpt31 'cafile' => __DIR__ . '/sni_server_ca.pem',
H A Dstream_verify_peer_name_002.phpt33 'cafile' => '%s',
H A Dcapture_peer_cert_001.phpt33 'cafile' => '%s'
H A Dsession_meta_capture_tlsv13.phpt35 'cafile' => '%s',
H A Dsni_server.phpt32 'cafile' => __DIR__ . '/sni_server_ca.pem',
H A Dstream_verify_peer_name_003.phpt33 'cafile' => '%s'
H A Dstream_crypto_flags_001.phpt36 'cafile' => '%s',
H A Dbug48182.phpt35 'cafile' => '%s',
H A Dbug54992.phpt34 'cafile' => '%s',
H A Dsni_server_key_cert.phpt41 'cafile' => __DIR__ . '/sni_server_ca.pem',
H A Dstream_crypto_flags_002.phpt37 'cafile' => '%s',
H A Dstream_crypto_flags_003.phpt41 'cafile' => '%s',
H A Dsession_meta_capture.phpt37 'cafile' => '%s',
H A Dopenssl_peer_fingerprint_basic.phpt34 'cafile' => '%s',
H A Dpeer_verification.phpt55 'cafile' => $caFile,
H A Dstream_crypto_flags_004.phpt38 'cafile' => '%s',
H A Dstream_security_level.phpt43 'cafile' => '%s',
H A Dbug65729.phpt41 'cafile' => '%s',
/PHP-7.4/ext/standard/tests/streams/
H A Dopendir-004.phpt17 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c…
H A Dopendir-003.phpt17 $context = stream_context_create(array('ssl' => array('cafile' => __DIR__ . '/../../../ftp/tests/c…
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c766 stream = php_stream_open_wrapper(cafile, "rb", 0, NULL); in php_openssl_load_stream_cafile()
769 php_error(E_WARNING, "failed loading cafile stream: `%s'", cafile); in php_openssl_load_stream_cafile()
830 php_error(E_WARNING, "no valid certs found cafile stream: `%s'", cafile); in php_openssl_load_stream_cafile()
840 char *cafile = NULL; in php_openssl_enable_peer_verification() local
844 GET_VER_OPT_STRING("cafile", cafile); in php_openssl_enable_peer_verification()
847 if (cafile == NULL) { in php_openssl_enable_peer_verification()
849 cafile = strlen(cafile) ? cafile : NULL; in php_openssl_enable_peer_verification()
852 STACK_OF(X509_NAME) *cert_names = SSL_load_client_CA_file(cafile); in php_openssl_enable_peer_verification()
866 if (cafile || capath) { in php_openssl_enable_peer_verification()
867 if (!SSL_CTX_load_verify_locations(ctx, cafile, capath)) { in php_openssl_enable_peer_verification()
[all …]

Completed in 27 milliseconds

12