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