Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 25 of 88) sorted by relevance

1234

/php-src/ext/openssl/tests/
H A Dstream_crypto_flags_002.phpt15 $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 Dbug76705.phpt2 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 Dsan_peer_matching.phpt15 $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 Dsni_server.phpt13 $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 Dsession_meta_capture.phpt15 $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 Dsni_server_key_cert.phpt13 $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 Dsan_ipv6_peer_matching.phpt20 $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 Dstream_crypto_flags_003.phpt15 $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 Dstream_crypto_flags_001.phpt15 $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 Dopenssl_peer_fingerprint_basic.phpt15 $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 Dsession_meta_capture_tlsv13.phpt15 $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 Dcapture_peer_cert_001.phpt15 $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 Dstream_crypto_flags_004.phpt15 $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 Dstream_verify_peer_name_001.phpt14 $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 Dbug46127.phpt14 $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 Dpeer_verification.phpt15 $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 Dstream_verify_peer_name_003.phpt15 $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 Dbug48182.phpt2 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 Dbug54992.phpt15 $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 Dstream_security_level.phpt11 // 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 Dstream_verify_peer_name_002.phpt15 $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 Dbug68265.phpt15 $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 Dbug68879.phpt15 $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 Dstream_context_create_error.phpt6 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 Dsetup-slapd.sh5 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

Completed in 17 milliseconds

1234