1gnutls-cli(1) General Commands Manual gnutls-cli(1)
2
3
4
6 gnutls-cli - GNU TLS test client
7
9 gnutls-cli [options] hostname
10
12 Simple client program to set up a TLS connection to some other com‐
13 puter. It sets up a TLS connection and forwards data from the standard
14 input to the secured socket and vice versa.
15
17 Program control options
18 --copyright
19 Prints the program's license.
20
21 -d, --debug LEVEL
22 Specify the debug level. Default is 1.
23
24 -h, --help
25 Prints a short reminder of the command line options.
26
27 -l, --list
28 Print a list of the supported algorithms and modes.
29
30 -r, --resume
31 Connect, establish a session. Connect again and resume this
32 session.
33
34 -s, --starttls
35 Connect, establish a plain session and start TLS when EOF or a
36 SIGALRM is received.
37
38 -v, --version
39 Prints the program's version number.
40
41
42 TLS/SSL control options
43 --ciphers cipher1 cipher2...
44 Ciphers to enable (use gnutls-cli --list to show the supported
45 ciphers).
46
47 --comp comp1 comp2...
48 Compression methods to enable (use gnutls-cli --list to show the
49 supported compression methods).
50
51 --crlf Send CR LF instead of LF.
52
53 --ctypes certType1 certType2...
54 Certificate types to enable (use gnutls-cli --list to show the
55 supported certificate types).
56
57 -f, --fingerprint
58 Send the openpgp fingerprint, instead of the key.
59
60 --kx kx1 kx2...
61 Key exchange methods to enable (use gnutls-cli --list to show
62 the supported key exchange methods).
63
64 --macs mac1 mac2...
65 MACs (Message Authentication Codes) to enable (use gnutls-cli
66 --list to show the supported MACs).
67
68 -p, --port integer
69 The port to connect to.
70
71 --protocols protocol1 protocol2...
72 Protocols to enable (use gnutls-cli --list to show the supported
73 protocols).
74
75 --recordsize integer
76 The maximum record size to advertize.
77
78
79 Certificate options
80 --pgpcertfile FILE
81 PGP Public Key (certificate) file to use.
82
83 --pgpkeyfile FILE
84 PGP Key file to use.
85
86 --pgpkeyring FILE
87 PGP Key ring file to use.
88
89 --pgptrustdb FILE
90 PGP trustdb file to use.
91
92 --srppasswd PASSWD
93 SRP password to use.
94
95 --srpusername NAME
96 SRP username to use.
97
98 --x509cafile FILE
99 Certificate file to use.
100
101 --x509certfile FILE
102 X.509 Certificate file to use.
103
104 --x509fmtder
105 Use DER format for certificates
106
107 --x509keyfile FILE
108 X.509 key file to use.
109
110 --xml Print the certificate information in XML format.
111
112
114 gnutls-cli-debug(1), gnutls-serv(1)
115
117 Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see
118 /usr/share/doc/gnutls-bin/AUTHORS for a complete list.
119
120 This manual page was written by Ivo Timmermans <ivo@debian.org>, for
121 the Debian GNU/Linux system (but may be used by others).
122
123
124
125 December 1st 2003 gnutls-cli(1)