2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
Long: ssl-reqd
|
|
|
|
Help: Require SSL/TLS
|
|
|
|
Protocols: FTP IMAP POP3 SMTP LDAP
|
|
|
|
Added: 7.20.0
|
|
|
|
Category: tls
|
|
|
|
Multi: boolean
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- ssl
|
|
|
|
- insecure
|
|
|
|
Example:
|
|
|
|
- --ssl-reqd ftp://example.com
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--ssl-reqd`
|
|
|
|
|
2023-12-11 20:30:44 -05:00
|
|
|
Require SSL/TLS for the connection. Terminates the connection if the transfer
|
|
|
|
cannot be upgraded to use SSL/TLS.
|
|
|
|
|
|
|
|
This option is handled in LDAP (added in 7.81.0). It is fully supported by the
|
|
|
|
OpenLDAP backend and rejected by the generic ldap backend if explicit TLS is
|
|
|
|
required.
|
|
|
|
|
|
|
|
This option is unnecessary if you use a URL scheme that in itself implies
|
|
|
|
immediate and implicit use of TLS, like for FTPS, IMAPS, POP3S, SMTPS and
|
|
|
|
LDAPS. Such a transfer always fails if the TLS handshake does not work.
|
|
|
|
|
|
|
|
This option was formerly known as --ftp-ssl-reqd.
|