1GRID-PROXY-INFO(1)              Globus Commands             GRID-PROXY-INFO(1)
2
3
4

NAME

6       grid-proxy-info - Display information about a proxy certificate
7

SYNOPSIS

9       grid-proxy-info [-help] [-usage] [-version]
10
11       grid-proxy-info [[-subject] | [-s]]
12                       [[-issuer] | [-i]]
13                       [-identity] [-type] [-timeleft] [-strength] [-all]
14                       [-text] [-path] [-rfc2253]
15                       [{-exists | -e}
16                       [[-valid HOURS:MINUTES] | [-v HOURS:MINUTES]]
17                       [[-hours HOURS] | [-h HOURS]]
18                       [[-bits BITS] | [-b BITS]]]
19

DESCRIPTION

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

ENVIRONMENT VARIABLES

115       The following environment variables affect the execution of
116       grid-proxy-info:
117
118       X509_USER_PROXY
119           Path to the default user proxy.
120

SEE ALSO

122       grid-proxy-init(1), grid-proxy-destroy(1)
123

AUTHOR

125       University of Chicago
126
127
128
129Globus Toolkit 5.0.2              04/25/2011                GRID-PROXY-INFO(1)
Impressum