Skip to content

Latest commit

 

History

History
151 lines (64 loc) · 2.52 KB

genproxy.1.md

File metadata and controls

151 lines (64 loc) · 2.52 KB

% GENPROXY(1) genproxy 2.1 | User Commands % Jan Just Keijser (Nikhef), Frank Scheiner (HLRS) % Apr 25, 2019

NAME

genproxy - create GSI proxy credentials with just OpenSSL and a POSIX compatible shell

SYNOPSIS

genproxy [options]

DESCRIPTION

genproxy is a POSIX shell script that can be used to generate GSI proxy credentials (GPCs) like grid-proxy-init(1) but with just openssl(1) and without the need for the Globus Toolkit itself.

OPTIONS

The options are as follows:

[--help]

Display susage.

[-V, --version]

Displays version.

[--debug]

Enables extra debug output (you can specify it multiple times).

[-q, --quiet]

Quiet mode, minimal output.

[--limited]

Creates a limited proxy.

[--independent]

Creates a independent proxy.

[--draft|--gt3]

Creates a draft (GSI-3) proxy.

[--old]

Creates a legacy proxy.

[--rfc]

Creates a RFC3820 compliant proxy (default).

[-d, --days=N]

Number of days the proxy is valid (default=1).

[--pcpl=N, --path-length=N]

Allow a chain of at most N proxies to be generated from this one (default=-1, i.e. unlimited).

[-b, --bits=N]

Number of bits in key (512, 1024, 2048, default=1024).

[--shaNUM]

SHA hashing strength to use (default=sha256).

[--cert=certfile]

Non-standard location of user certificate or PKCS#12 file.

[--key=keyfile]

Non-standard location of user key.

[-o, --out=proxyfile]

Non-standard location of new proxy cert.

ENVIRONMENT VARIABLES

X509_USER_PROXY

As an alternative to the --out option, you can also predefine the path and name of the GPC in the environment variable X509_USER_PROXY (for example with export X509_USER_PROXY="$HOME/.globus/mygpc"). If both X509_USER_PROXY is set and the --out option is used, the latter takes precedence!

FILES

$HOME/.globus/usercert.pem

Your personal X.509 certificate.

$HOME/.globus/userkey.pem

The matching private key to your personal X.509 certificate.

$HOME/.globus/usercred.p12

Your personal X.509 certificate and matching private key in a PKCS#12 keystore.

EXIT CODES

1

GPC could not be created.

2

Temporary file for operation could not be created.

3

User certificate file could not be read.

4

Given credentials were invalid.

SEE ALSO

openssl(1SSL), grid-proxy-init(1), mktemp(1)