summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/tlsauthtype.md
blob: 10eccb29adc4de8d1c82205cf6f666586ad7ff6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: tlsauthtype
Arg: <type>
Help: TLS authentication type
Protocols: TLS
Added: 7.21.4
Category: tls auth
Multi: single
See-also:
  - tlsuser
Example:
  - --tlsauthtype SRP $URL
---

# `--tlsauthtype`

Set TLS authentication type. Currently, the only supported option is `SRP`,
for TLS-SRP (RFC 5054). If --tlsuser and --tlspassword are specified but
--tlsauthtype is not, then this option defaults to `SRP`. This option works
only if the underlying libcurl is built with TLS-SRP support, which requires
OpenSSL or GnuTLS with TLS-SRP support.