/PHP-8.2/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 | stream_crypto_flags_003.phpt | 16 $serverUri = "ssl://127.0.0.1:64321"; 18 $serverCtx = stream_context_create(['ssl' => [ 38 $serverUri = "ssl://127.0.0.1:64321"; 40 $clientCtx = stream_context_create(['ssl' => [ 49 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 55 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
|
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_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 | 16 $serverUri = "ssl://127.0.0.1:64321"; 18 $serverCtx = stream_context_create(['ssl' => [ 32 $serverUri = "ssl://127.0.0.1:64321"; 34 $clientCtx = stream_context_create(['ssl' => [ 42 …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 | 12 // https://www.openssl.org/docs/man1.1.0/ssl/SSL_CTX_get_security_level.html 22 $serverUri = "ssl://127.0.0.1:64322"; 24 $serverCtx = stream_context_create(['ssl' => [ 39 $serverUri = "ssl://127.0.0.1:64322"; 41 $clientCtx = stream_context_create(['ssl' => [ 74 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' => [
|
H A D | streams_crypto_method.phpt | 2 Specific crypto method for ssl:// transports. 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 44 $clientCtx = stream_context_create(['ssl' => [
|
/PHP-8.2/.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 62 olcTLSCACertificateFile: /etc/ldap/ssl/server.crt 65 olcTLSCertificateFile: /etc/ldap/ssl/server.crt 68 olcTLSCertificateKeyFile: /etc/ldap/ssl/server.key
|