/PHP-8.0/ext/openssl/tests/ |
H A D | bug76705.phpt | 2 Bug #76705: unusable ssl => peer_fingerprint in stream_context_create() 11 $serverUri = "ssl://127.0.0.1:64323"; 13 $serverCtx = stream_context_create(['ssl' => [ 24 $serverUri = "ssl://127.0.0.1:64323"; 26 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_crypto_flags_002.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $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_TLSv1_1_CLIENT); 50 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 53 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
|
H A D | sni_server.phpt | 12 $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 | san_peer_matching.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' => [ 37 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org'); 40 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org'); 62 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.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $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); 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
|
H A D | sni_server_key_cert.phpt | 12 $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 | 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 | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 32 $serverUri = "ssl://127.0.0.1:64321"; 34 $clientCtx = stream_context_create(['ssl' => [ 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_TLS_CLIENT);
|
H A D | openssl_peer_fingerprint_basic.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 41 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '%s'); 44 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [ 77 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_004.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 34 $serverUri = "ssl://127.0.0.1:64321"; 36 $clientCtx = stream_context_create(['ssl' => [ 50 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 54 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 58 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
|
H A D | capture_peer_cert_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' => [ 38 $cert = stream_context_get_options($clientCtx)['ssl']['peer_certificate'];
|
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 | peer_verification.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 31 $serverUri = "ssl://127.0.0.1:64321"; 41 $clientCtx = stream_context_create(['ssl' => [ 47 $clientCtx = stream_context_create(['ssl' => [ 54 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_003.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' => [ 61 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
H A D | bug46127.phpt | 13 $serverUri = "ssl://127.0.0.1:64321"; 15 $serverCtx = stream_context_create(['ssl' => [ 28 $serverUri = "ssl://127.0.0.1:64321"; 31 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_001.phpt | 13 $serverUri = "ssl://127.0.0.1:64321"; 15 $serverCtx = stream_context_create(['ssl' => [ 28 $serverUri = "ssl://127.0.0.1:64321"; 30 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68879.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 28 $serverUri = "ssl://127.0.0.1:64321"; 30 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug68265.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 28 $serverUri = "ssl://127.0.0.1:64321"; 30 $clientCtx = stream_context_create(['ssl' => [
|
H A D | bug54992.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 30 $serverUri = "ssl://127.0.0.1:64321"; 32 $clientCtx = stream_context_create(['ssl' => [ 63 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 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 32 $serverUri = "ssl://127.0.0.1:64321"; 34 $clientCtx = stream_context_create(['ssl' => [
|
H A D | stream_verify_peer_name_002.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 | 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 | bug65729.phpt | 14 $serverUri = "ssl://127.0.0.1:64321"; 16 $serverCtx = stream_context_create(['ssl' => [ 31 $serverUri = "ssl://127.0.0.1:64321"; 38 $clientCtx = stream_context_create(['ssl' => [ 67 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o… 76 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
|
/PHP-8.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;
|
/PHP-8.0/.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
|