2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2018-05-28 20:16:27 +08:00
|
|
|
Long: ssl
|
2016-11-28 07:50:25 +08:00
|
|
|
Help: Try SSL/TLS
|
2021-12-01 00:48:28 +08:00
|
|
|
Protocols: FTP IMAP POP3 SMTP LDAP
|
2016-11-28 07:50:25 +08:00
|
|
|
Added: 7.20.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: tls
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --ssl pop3://example.com/
|
2022-09-17 01:03:49 +08:00
|
|
|
See-also: ssl-reqd insecure ciphers
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-28 07:50:25 +08:00
|
|
|
---
|
2022-09-17 01:03:49 +08:00
|
|
|
Warning: this is considered an insecure option. Consider using --ssl-reqd
|
|
|
|
instead to be sure curl upgrades to a secure connection.
|
|
|
|
|
2021-11-26 15:46:59 +08:00
|
|
|
Try to use SSL/TLS for the connection. Reverts to a non-secure connection if
|
|
|
|
the server does not support SSL/TLS. See also --ftp-ssl-control and --ssl-reqd
|
2016-11-28 07:50:25 +08:00
|
|
|
for different levels of encryption required.
|
|
|
|
|
2021-12-01 00:48:28 +08:00
|
|
|
This option is handled in LDAP since version 7.81.0. It is fully supported
|
2022-09-21 05:30:19 +08:00
|
|
|
by the OpenLDAP backend and ignored by the generic ldap backend.
|
2021-12-01 00:48:28 +08:00
|
|
|
|
|
|
|
Please note that a server may close the connection if the negotiation does
|
|
|
|
not succeed.
|
|
|
|
|
2016-11-28 07:50:25 +08:00
|
|
|
This option was formerly known as --ftp-ssl (Added in 7.11.0). That option
|
|
|
|
name can still be used but will be removed in a future version.
|