tls-max.d 770 B

12345678910111213141516171819202122232425262728293031323334
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: tls-max
  4. Arg: <VERSION>
  5. Tags: Versions
  6. Protocols: TLS
  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. Multi: single
  15. ---
  16. VERSION defines maximum supported TLS version. The minimum acceptable version
  17. is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
  18. If the connection is done without TLS, this option has no effect. This
  19. includes QUIC-using (HTTP/3) transfers.
  20. .RS
  21. .IP "default"
  22. Use up to recommended TLS version.
  23. .IP "1.0"
  24. Use up to TLSv1.0.
  25. .IP "1.1"
  26. Use up to TLSv1.1.
  27. .IP "1.2"
  28. Use up to TLSv1.2.
  29. .IP "1.3"
  30. Use up to TLSv1.3.
  31. .RE
  32. .IP