/php-src/ext/openssl/tests/ |
H A D | stream_crypto_flags_002.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 34 $serverUri = "ssl://127.0.0.1:64321"; 36 $clientCtx = stream_context_create(['ssl' => [ 45 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 54 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
|
H A D | bug76705.phpt | 2 Bug #76705: unusable ssl => peer_fingerprint in stream_context_create() 12 $serverUri = "ssl://127.0.0.1:64323"; 14 $serverCtx = stream_context_create(['ssl' => [ 25 $serverUri = "ssl://127.0.0.1:64323"; 27 $clientCtx = stream_context_create(['ssl' => [
|
H A D | san_peer_matching.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 38 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org'); 41 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org'); 63 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | sni_server.phpt | 13 $ctx = stream_context_create(['ssl' => [ 39 $ctx = stream_context_create(['ssl' => $ctxArr]); 41 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 45 $ctx = stream_context_create(['ssl' => $ctxArr]); 47 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 51 $ctx = stream_context_create(['ssl' => $ctxArr]); 53 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];
|
H A D | session_meta_capture.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 34 $serverUri = "ssl://127.0.0.1:64321"; 36 $clientCtx = stream_context_create(['ssl' => [ 45 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 49 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 53 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
|
H A D | sni_server_key_cert.phpt | 13 $ctx = stream_context_create(['ssl' => [ 48 $ctx = stream_context_create(['ssl' => $ctxArr]); 50 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 54 $ctx = stream_context_create(['ssl' => $ctxArr]); 56 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate']; 60 $ctx = stream_context_create(['ssl' => $ctxArr]); 62 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];
|
H A D | san_ipv6_peer_matching.phpt | 20 $serverUri = "ssl://[::1]:64324"; 22 $serverCtx = stream_context_create(['ssl' => [ 35 $serverUri = "ssl://[::1]:64324"; 37 $clientCtx = stream_context_create(['ssl' => [ 43 … stream_context_set_option($clientCtx, 'ssl', 'peer_name', '2001:db8:85a3:8d3:1319:8a2e:370:7348'); 46 … stream_context_set_option($clientCtx, 'ssl', 'peer_name', '2001:db8:85a3:8d3:1319:8a2e:370:7349'); 68 Warning: stream_socket_client(): Unable to connect to ssl://[::1]:64324 (Unknown error) in %s on li…
|
H A D | stream_crypto_flags_003.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 37 $serverUri = "ssl://127.0.0.1:64321"; 39 $clientCtx = stream_context_create(['ssl' => [ 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 54 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
|
H A D | stream_crypto_flags_001.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 33 $serverUri = "ssl://127.0.0.1:64321"; 35 $clientCtx = stream_context_create(['ssl' => [ 44 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 47 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
|
H A D | openssl_peer_fingerprint_basic.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 31 $serverUri = "ssl://127.0.0.1:64321"; 33 $clientCtx = stream_context_create(['ssl' => [ 42 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '%s'); 45 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [ 78 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | session_meta_capture_tlsv13.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 31 $serverUri = "ssl://127.0.0.1:64321"; 33 $clientCtx = stream_context_create(['ssl' => [ 41 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
|
H A D | capture_peer_cert_001.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 39 $cert = stream_context_get_options($clientCtx)['ssl']['peer_certificate'];
|
H A D | stream_crypto_flags_004.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 35 $serverUri = "ssl://127.0.0.1:64321"; 37 $clientCtx = stream_context_create(['ssl' => [ 51 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 55 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 59 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
|
H A D | stream_verify_peer_name_001.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 29 $serverUri = "ssl://127.0.0.1:64321"; 31 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug46127.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 29 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [
|
H A D | peer_verification.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 32 $serverUri = "ssl://127.0.0.1:64321"; 42 $clientCtx = stream_context_create(['ssl' => [ 48 $clientCtx = stream_context_create(['ssl' => [ 55 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_003.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 62 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | bug48182.phpt | 2 Bug #48182: ssl handshake fails during asynchronous socket connection 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 33 $serverUri = "ssl://127.0.0.1:64321"; 35 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug54992.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 31 $serverUri = "ssl://127.0.0.1:64321"; 33 $clientCtx = stream_context_create(['ssl' => [ 64 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | stream_security_level.phpt | 11 // https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_get_security_level.html 21 $serverUri = "ssl://127.0.0.1:64322"; 23 $serverCtx = stream_context_create(['ssl' => [ 38 $serverUri = "ssl://127.0.0.1:64322"; 40 $clientCtx = stream_context_create(['ssl' => [ 73 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64322 (Unknown error) in %s :…
|
H A D | stream_verify_peer_name_002.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68265.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 29 $serverUri = "ssl://127.0.0.1:64321"; 31 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68879.phpt | 15 $serverUri = "ssl://127.0.0.1:64321"; 17 $serverCtx = stream_context_create(['ssl' => [ 29 $serverUri = "ssl://127.0.0.1:64321"; 31 $clientCtx = stream_context_create(['ssl' => [
|
/php-src/ext/standard/tests/streams/ |
H A D | stream_context_create_error.phpt | 6 stream_context_create(['ssl' => "abc"]); 12 stream_context_create(['ssl' => ['verify_peer'=> false]], ["options" => ['ssl' => "abc"]]); 18 stream_context_create(['ssl' => ['verify_peer'=> false]], ["options" => false]);
|
/php-src/.github/scripts/ |
H A D | setup-slapd.sh | 5 sudo mkdir -p /etc/ldap/ssl 24 -out /etc/ldap/ssl/server.crt -keyout /etc/ldap/ssl/server.key \ 28 sudo chown -R openldap:openldap /etc/ldap/ssl 31 openssl x509 -noout -text -in /etc/ldap/ssl/server.crt 64 olcTLSCACertificateFile: /etc/ldap/ssl/server.crt 67 olcTLSCertificateFile: /etc/ldap/ssl/server.crt 70 olcTLSCertificateKeyFile: /etc/ldap/ssl/server.key
|