ssl-reqd.d 821 B

1234567891011121314151617181920212223
  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. This option is handled in LDAP (added in 7.81.0). It is fully supported by the
  15. OpenLDAP backend and rejected by the generic ldap backend if explicit TLS is
  16. required.
  17. This option is unnecessary if you use a URL scheme that in itself implies
  18. immediate and implicit use of TLS, like for FTPS, IMAPS, POP3S, SMTPS and
  19. LDAPS. Such a transfer always fails if the TLS handshake does not work.
  20. This option was formerly known as --ftp-ssl-reqd.