1PKI --DN(1)                       strongSwan                       PKI --DN(1)
2
3
4

NAME

6       pki --dn - Extract the subject DN of an X.509 certificate
7

SYNOPSIS

9       pki --dn [--in file] [--format format] [--debug level]
10
11       pki --dn --options file
12
13       pki --dn -h | --help
14

DESCRIPTION

16       This  sub-command  of pki(1) extracts the ASN.1-encoded subject Distin‐
17       guishedName (DN) of an X.509 certificate and exports  it  in  different
18       formats.   This  may be useful when strongSwan's identity parser is un‐
19       able to produce the correct binary encoding from a string.
20

OPTIONS

22       -h, --help
23              Print usage information with a summary of the available options.
24
25       -v, --debug level
26              Set debug level, default: 1.
27
28       -+, --options file
29              Read command line options from file.
30
31       -i, --in file
32              Input file. If not given the input is read from STDIN.
33
34       -t, --format format
35              Output format. One of config (strongSwan configuration  compati‐
36              ble),  hex (hexadecimal encoding, no prefix), base64 (Base64 en‐
37              coding, no prefix), bin (raw binary data), defaults to config.
38

SEE ALSO

40       pki(1)
41
42
43
445.9.11                            2015-08-06                       PKI --DN(1)
Impressum