1 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 2 SPDX-License-Identifier: curl 3 Long: ssl-reqd 4 Help: Require SSL/TLS 5 Protocols: FTP IMAP POP3 SMTP LDAP 6 Added: 7.20.0 7 Category: tls 8 Example: --ssl-reqd ftp://example.com 9 See-also: ssl insecure 10 Multi: boolean 11 --- 12 Require SSL/TLS for the connection. Terminates the connection if the transfer 13 cannot be upgraded to use SSL/TLS. 14 15 This option is handled in LDAP (added in 7.81.0). It is fully supported by the 16 OpenLDAP backend and rejected by the generic ldap backend if explicit TLS is 17 required. 18 19 This option is unnecessary if you use a URL scheme that in itself implies 20 immediate and implicit use of TLS, like for FTPS, IMAPS, POP3S, SMTPS and 21 LDAPS. Such a transfer always fails if the TLS handshake does not work. 22 23 This option was formerly known as --ftp-ssl-reqd. 24