xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, 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 server |
| 13 | does not support SSL/TLS. |
| 14 | |
| 15 | This option is handled in LDAP since version 7.81.0. It is fully supported |
| 16 | by the OpenLDAP backend and rejected by the generic ldap backend if explicit |
| 17 | TLS is required. |
| 18 | |
| 19 | This option was formerly known as --ftp-ssl-reqd. |