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