tls-max.d 765 B

1234567891011121314151617181920212223242526272829303132
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: tls-max
  4. Arg: <VERSION>
  5. Tags: Versions
  6. Protocols: SSL
  7. Added: 7.54.0
  8. Requires: TLS
  9. See-also: tlsv1.0 tlsv1.1 tlsv1.2 tlsv1.3
  10. Help: Set maximum allowed TLS version
  11. Category: tls
  12. Example: --tls-max 1.2 $URL
  13. Example: --tls-max 1.3 --tlsv1.2 $URL
  14. ---
  15. VERSION defines maximum supported TLS version. The minimum acceptable version
  16. is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
  17. If the connection is done without TLS, this option has no effect. This
  18. includes QUIC-using (HTTP/3) transfers.
  19. .RS
  20. .IP "default"
  21. Use up to recommended TLS version.
  22. .IP "1.0"
  23. Use up to TLSv1.0.
  24. .IP "1.1"
  25. Use up to TLSv1.1.
  26. .IP "1.2"
  27. Use up to TLSv1.2.
  28. .IP "1.3"
  29. Use up to TLSv1.3.
  30. .RE