xref: /curl/docs/cmdline-opts/tlsauthtype.md (revision 911fc964)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: tlsauthtype
5Arg: <type>
6Help: TLS authentication type
7Protocols: TLS
8Added: 7.21.4
9Category: tls auth
10Multi: single
11See-also:
12  - tlsuser
13Example:
14  - --tlsauthtype SRP $URL
15---
16
17# `--tlsauthtype`
18
19Set TLS authentication type. Currently, the only supported option is `SRP`,
20for TLS-SRP (RFC 5054). If --tlsuser and --tlspassword are specified but
21--tlsauthtype is not, then this option defaults to `SRP`. This option works
22only if the underlying libcurl is built with TLS-SRP support, which requires
23OpenSSL or GnuTLS with TLS-SRP support.
24