xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: ssl |
| 4 | Help: Try SSL/TLS |
| 5 | Protocols: FTP IMAP POP3 SMTP LDAP |
| 6 | Added: 7.20.0 |
| 7 | Category: tls |
| 8 | Example: --ssl pop3://example.com/ |
| 9 | See-also: ssl-reqd insecure ciphers |
| 10 | Multi: boolean |
| 11 | --- |
| 12 | Warning: this is considered an insecure option. Consider using --ssl-reqd |
| 13 | instead to be sure curl upgrades to a secure connection. |
| 14 | |
| 15 | Try to use SSL/TLS for the connection. Reverts to a non-secure connection if |
| 16 | the server does not support SSL/TLS. See also --ftp-ssl-control and --ssl-reqd |
| 17 | for different levels of encryption required. |
| 18 | |
| 19 | This option is handled in LDAP since version 7.81.0. It is fully supported |
| 20 | by the OpenLDAP backend and ignored by the generic ldap backend. |
| 21 | |
| 22 | Please note that a server may close the connection if the negotiation does |
| 23 | not succeed. |
| 24 | |
| 25 | This option was formerly known as --ftp-ssl (Added in 7.11.0). That option |
| 26 | name can still be used but will be removed in a future version. |