Home
last modified time | relevance | path

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

1234

/PHP-8.0/ext/openssl/tests/
H A Dbug76705.phpt2 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 Dstream_crypto_flags_002.phpt14 $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 Dsni_server.phpt12 $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 Dsan_peer_matching.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' => [
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 Dsession_meta_capture.phpt14 $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 Dsni_server_key_cert.phpt12 $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 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.phpt14 $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 Dopenssl_peer_fingerprint_basic.phpt14 $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 Dstream_crypto_flags_004.phpt14 $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 Dcapture_peer_cert_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' => [
38 $cert = stream_context_get_options($clientCtx)['ssl']['peer_certificate'];
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 Dpeer_verification.phpt14 $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 Dstream_verify_peer_name_003.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' => [
61 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dbug46127.phpt13 $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 Dstream_verify_peer_name_001.phpt13 $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 Dbug68879.phpt14 $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 Dbug68265.phpt14 $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 Dbug54992.phpt14 $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 Dbug48182.phpt2 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 Dstream_verify_peer_name_002.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 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 Dbug65729.phpt14 $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 Dbug37799.phpt2 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 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 21 milliseconds

1234