1GRID-PROXY-INFO(1) Grid Community Toolkit Manual GRID-PROXY-INFO(1)
2
3
4
6 grid-proxy-info - Display information about a proxy certificate
7
9 grid-proxy-info -help | -usage | -version
10
11 grid-proxy-info -e | -exists [-valid HOURS:MINUTES | -v HOURS:MINUTES]
12 [-hours HOURS | -h HOURS] [-bits BITS | -b BITS]
13
14 grid-proxy-info [OPTIONS]
15
17 The grid-proxy-info program extracts information from an X.509 proxy
18 certificates, and optionally displays or returns an exit code based on
19 that information.
20
21 The default mode of operation is to print the following facts about the
22 current user’s default proxy: subject, issuer, identity, type,
23 strength, path, and time left. If the command-line option -exists or -e
24 is included in the command-line, nothing is printed unless one of the
25 print options is specified. Instead, grid-proxy-info determines if a
26 valid proxy exists and, if so, exits with the exit code 0; if a proxy
27 does not exist or is not valid, grid-proxy-info exits with the exit
28 code 1. Additional validity criteria can be added by using the -valid,
29 -v, -hours, -h, -bits, or -b command-line options. If used, these
30 options must occur after the -e or -exists command-line options. Those
31 options are only valid if one of the -e or -exists command-line options
32 is used.
33
35 The complete set of command-line options to grid-proxy-info are:
36
37 -help, -usage
38 Display the command-line options to grid-proxy-info.
39
40 -version
41 Display the version number of the grid-proxy-info command.
42
43 -debug
44 Display verbose error messages.
45
46 -file PROXYFILE, -f PROXYFILE
47 Read the proxy located in the file PROXYFILE instead of using the
48 default proxy.
49
50 -subject, -s
51 Display the proxy certificate’s subject distinguished name.
52
53 -issuer, -i
54 Display the proxy certificate issuer’s distinguished name.
55
56 -identity
57 Display the proxy certificate’s identity. For non-independent
58 proxies, the identity is the subject of the certificate which
59 issued the first proxy in the proxy chain.
60
61 -type
62 Display the type of proxy certificate. The type string includes the
63 format ("legacy", "draft", or RFC 3280 compliant), identity type
64 ("impersonation" or "independent"), and policy ("limited" or
65 "full"). See grid-proxy-init(1) for information about how to create
66 different types of proxies.
67
68 -timeleft
69 Display the number of seconds remaining until the proxy certificate
70 expires.
71
72 -strength
73 Display the strength (in bits) of the key associated with the proxy
74 certificate.
75
76 -all
77 Display the default information for the proxy when also using the
78 -e or -exists command-line option.
79
80 -text
81 Display the proxy certificate contents to standard output,
82 including policy information, issuer, public key, and modulus.
83
84 -path
85 Display the path to the file containing the default proxy
86 certificate.
87
88 -rfc2253
89 Display distinguished names for the subject, issuer, and identity
90 using the string representation described in RFC 2253, instead of
91 the legacy format.
92
93 -exists, -e
94 Perform an existence and validity check for the proxy. If a valid
95 proxy exists and matches the criteria described by other
96 command-line options (if any), exit with 0; otherwise, exit with 1.
97 This option must be before other validity check predicate in the
98 command-line options. If this option is specified, the output of
99 the default facts about the proxy is disabled. Use the -all option
100 to have the information displayed as well as the exit code set.
101
102 -valid HOURS:MINUTES, -v HOURS:MINUTES, -hours HOURS, -h HOURS
103 Check that the proxy certificate is valid for at least HOURS hours
104 and MINUTES minutes. If it is not, grid-proxy-info will exit with
105 exit code 1.
106
107 -bits BITS, -b BITS
108 Check that the proxy certificate key strength is at least BITS
109 bits.
110
112 The following environment variables affect the execution of
113 grid-proxy-info:
114
115 X509_USER_PROXY
116 Path to the default user proxy.
117
119 grid-proxy-init(1), grid-proxy-destroy(1)
120
122 Copyright © 1999-2014 University of Chicago
123
124
125
126Grid Community Toolkit 6 03/31/2018 GRID-PROXY-INFO(1)