summaryrefslogtreecommitdiffstats
path: root/src/gnutls-cli-debug-options.json
blob: 04f74c61a7582f5f1733e7ea1dee7de5adbf1bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  "format-version": "0.1.0",
  "tool": {
    "name": "gnutls-cli-debug",
    "title": "GnuTLS debug client",
    "description": "Simple client program to check TLS server capabilities.",
    "detail": "TLS debug client. It sets up multiple TLS connections to \na server and queries its capabilities. It was created to assist in debugging \nGnuTLS, but it might be useful to extract a TLS server's capabilities.\nIt connects to a TLS server, performs tests and print the server's \ncapabilities. If called with the `-V' parameter more checks will be performed.\nCan be used to check for servers with special needs or bugs.",
    "short-usage": "Usage: gnutls-cli-debug [options] hostname\ngnutls-cli --help for usage instructions.\n",
    "argument": "[hostname]",
    "reorder-arguments": true
  },
  "sections": [
    {
      "options": [
        {
          "long-option": "debug",
          "short-option": "d",
          "description": "Enable debugging",
          "detail": "Specifies the debug level.",
          "argument-range": {
            "min": 0,
            "max": 9999
          },
          "argument-type": "number"
        },
        {
          "long-option": "verbose",
          "short-option": "V",
          "description": "More verbose output"
        },
        {
          "long-option": "port",
          "short-option": "p",
          "description": "The port to connect to",
          "argument-range": {
            "min": 0,
            "max": 65536
          },
          "argument-type": "number"
        },
        {
          "long-option": "app-proto",
          "aliases": "starttls-proto"
        },
        {
          "long-option": "starttls-proto",
          "description": "The application protocol to be used to obtain the server's certificate (https, ftp, smtp, imap, ldap, xmpp, lmtp, pop3, nntp, sieve, postgres)",
          "detail": "Specify the application layer protocol for STARTTLS. If the protocol is supported, gnutls-cli will proceed to the TLS negotiation.",
          "argument-type": "string"
        }
      ]
    }
  ]
}