|
22 | 22 | <literal>ssl://</literal>, <literal>tls://</literal>, |
23 | 23 | <literal>sslv2://</literal> & <literal>sslv3://</literal>. |
24 | 24 | </simpara> |
| 25 | + <note> |
| 26 | + <simpara> |
| 27 | + The <literal>sslv2://</literal> and <literal>sslv3://</literal> transports |
| 28 | + are obsolete and should not be used. They are documented for |
| 29 | + backward compatibility only. |
| 30 | + </simpara> |
| 31 | + </note> |
25 | 32 |
|
26 | 33 | <note> |
27 | 34 | <simpara> |
|
38 | 45 | <listitem><simpara><literal>tcp://www.example.com</literal></simpara></listitem> |
39 | 46 | <listitem><simpara><literal>udp://www.example.com</literal></simpara></listitem> |
40 | 47 | <listitem><simpara><literal>ssl://www.example.com</literal></simpara></listitem> |
41 | | - <listitem><simpara><literal>sslv2://www.example.com</literal></simpara></listitem> |
42 | | - <listitem><simpara><literal>sslv3://www.example.com</literal></simpara></listitem> |
43 | 48 | <listitem><simpara><literal>tls://www.example.com</literal></simpara></listitem> |
44 | 49 | </itemizedlist> |
45 | 50 |
|
|
78 | 83 | </simpara> |
79 | 84 |
|
80 | 85 | <simpara> |
81 | | - <literal>ssl://</literal> will attempt to negotiate an SSL V2, |
82 | | - or SSL V3 connection depending on the capabilities and preferences |
83 | | - of the remote host. <literal>sslv2://</literal> and |
84 | | - <literal>sslv3://</literal> will select the SSL V2 or SSL V3 |
85 | | - protocol explicitly. |
| 86 | + <literal>ssl://</literal> will attempt to negotiate a secure SSL/TLS |
| 87 | + connection depending on the capabilities and preferences of both the |
| 88 | + client and the remote host. The actual protocols that may be used are |
| 89 | + determined by the OpenSSL configuration and by any options provided |
| 90 | + through <function>stream_context_create</function>, such as |
| 91 | + <literal>ssl.crypto_method</literal>. |
| 92 | + </simpara> |
| 93 | + |
| 94 | + <simpara> |
| 95 | + The SSLv2 and SSLv3 protocols are obsolete and insecure. Their use is |
| 96 | + strongly discouraged and they are no longer enabled by default in |
| 97 | + modern versions of PHP and OpenSSL. |
86 | 98 | </simpara> |
87 | 99 | </section> |
88 | 100 |
|
|
0 commit comments