/PHP-7.0/ext/openssl/tests/ |
H A D | session_meta_capture.phpt | 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 27 $serverUri = "ssl://127.0.0.1:64321"; 29 $clientCtx = stream_context_create(['ssl' => [ 38 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 40 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta']; 43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 45 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta']; 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 50 $meta = stream_context_get_options($clientCtx)['ssl']['session_meta'];
|
H A D | stream_crypto_flags_002.phpt | 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 27 $serverUri = "ssl://127.0.0.1:64321"; 29 $clientCtx = stream_context_create(['ssl' => [ 37 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 40 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 46 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
|
H A D | stream_crypto_flags_003.phpt | 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 40 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 46 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
|
H A D | openssl_peer_fingerprint_basic.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 24 $serverUri = "ssl://127.0.0.1:64321"; 26 $clientCtx = stream_context_create(['ssl' => [ 36 …stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '3610606deda596b3ae3859d33c4ce1da… 39 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [ 52 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | san_peer_matching.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 24 $serverUri = "ssl://127.0.0.1:64321"; 26 $clientCtx = stream_context_create(['ssl' => [ 33 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org'); 36 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org'); 49 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | stream_crypto_flags_001.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 25 $serverUri = "ssl://127.0.0.1:64321"; 27 $clientCtx = stream_context_create(['ssl' => [ 35 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 38 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
|
H A D | sni_server.phpt | 11 $ctx = stream_context_create(['ssl' => [ 38 $ctx = stream_context_create(['ssl' => $ctxArr]); 40 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 44 $ctx = stream_context_create(['ssl' => $ctxArr]); 46 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 50 $ctx = stream_context_create(['ssl' => $ctxArr]); 52 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];
|
H A D | capture_peer_cert_001.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 23 $serverUri = "ssl://127.0.0.1:64321"; 25 $clientCtx = stream_context_create(['ssl' => [ 32 $cert = stream_context_get_options($clientCtx)['ssl']['peer_certificate'];
|
H A D | stream_crypto_flags_004.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 27 $serverUri = "ssl://127.0.0.1:64321"; 29 $clientCtx = stream_context_create(['ssl' => [ 42 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 46 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 50 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
|
H A D | peer_verification.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 25 $serverUri = "ssl://127.0.0.1:64321"; 35 $clientCtx = stream_context_create(['ssl' => [ 41 $clientCtx = stream_context_create(['ssl' => [ 48 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_003.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 23 $serverUri = "ssl://127.0.0.1:64321"; 25 $clientCtx = stream_context_create(['ssl' => [ 43 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | bug68879.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 24 $serverUri = "ssl://127.0.0.1:64321"; 26 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_001.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 23 $serverUri = "ssl://127.0.0.1:64321"; 25 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_002.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 23 $serverUri = "ssl://127.0.0.1:64321"; 25 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug54992.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 23 $serverUri = "ssl://127.0.0.1:64321"; 25 $clientCtx = stream_context_create(['ssl' => [ 44 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | bug46127.phpt | 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 25 $serverUri = "ssl://127.0.0.1:64321"; 28 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68265.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 24 $serverUri = "ssl://127.0.0.1:64321"; 26 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug48182.phpt | 2 Bug #48182: ssl handshake fails during asynchronous socket connection 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 27 $serverUri = "ssl://127.0.0.1:64321"; 29 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug65729.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 26 $serverUri = "ssl://127.0.0.1:64321"; 33 $clientCtx = stream_context_create(['ssl' => [ 50 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o… 59 Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | bug69215.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 28 $serverUri = "ssl://127.0.0.1:64321"; 30 $clientCtx = stream_context_create(['ssl' => [
|
H A D | streams_crypto_method.phpt | 2 Specific crypto method for ssl:// transports. 11 $serverUri = "ssl://127.0.0.1:64321"; 13 $serverCtx = stream_context_create(['ssl' => [ 40 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68920.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 26 $serverUri = "ssl://127.0.0.1:64321"; 31 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => true]]); 35 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => null]]); 39 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => []]]); 43 $ctx = stream_context_create(['ssl' => ['verify_peer'=> false, 'peer_fingerprint' => ['foo']]]);
|
H A D | bug72333.phpt | 11 $context = stream_context_create(['ssl' => ['local_cert' => __DIR__ . '/bug54992.pem']]); 14 $fp = stream_socket_server("ssl://127.0.0.1:10011", $errornum, $errorstr, $flags, $context); 36 …$context = stream_context_create(['ssl' => ['verify_peer' => false, 'peer_name' => 'bug54992.local… 39 …$fp = stream_socket_client("ssl://127.0.0.1:10011", $errornum, $errorstr, 3000, STREAM_CLIENT_CONN…
|
H A D | bug65538_001.phpt | 10 $serverUri = "ssl://127.0.0.1:64321"; 12 $serverCtx = stream_context_create(['ssl' => [ 38 $clientCtx = stream_context_create(['ssl' => [
|
/PHP-7.0/ext/ftp/tests/ |
H A D | bug37799.phpt | 2 Bug #37799 (ftp_ssl_connect() falls back to non-ssl connection) 5 $ssl = 1; 11 $bug37799=$ssl=1;
|