diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-09-09 15:02:47 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-09-19 15:28:17 -0400 |
commit | 8bb918883ad8c1287d4085317e9330e18ec214b2 (patch) | |
tree | 3d8475ffd348e7adbc4c3e4249bd0768927dcf41 /base/java-tools/man/man1/pki-client.1 | |
parent | ab97c5a333cb0a86fc4a6983f39f1607d37577c7 (diff) | |
download | pki-8bb918883ad8c1287d4085317e9330e18ec214b2.tar.gz pki-8bb918883ad8c1287d4085317e9330e18ec214b2.tar.xz pki-8bb918883ad8c1287d4085317e9330e18ec214b2.zip |
Added option to import client cert from CA.
A new option has been added to the client-cert-import command to
import a certificate from CA by specifying the serial number.
The client-cert-import has also been modified to get the nickname
of the certificate to import from the CLI argument. For backward
compatibility, if no argument is specified the CLI will try to
get the nickname from the authentication option (-n).
Ticket #1152
Diffstat (limited to 'base/java-tools/man/man1/pki-client.1')
-rw-r--r-- | base/java-tools/man/man1/pki-client.1 | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/base/java-tools/man/man1/pki-client.1 b/base/java-tools/man/man1/pki-client.1 index 8978c8c44..0364f84ef 100644 --- a/base/java-tools/man/man1/pki-client.1 +++ b/base/java-tools/man/man1/pki-client.1 @@ -22,8 +22,8 @@ pki-client \- Command-Line Interface for managing the security database on Certi \fBpki\fR [CLI options] \fBclient-init\fR [command options] \fBpki\fR [CLI options] \fBclient-cert-find\fR [command options] \fBpki\fR [CLI options] \fBclient-cert-request\fR <subject DN> [command options] -\fBpki\fR [CLI options] \fBclient-cert-import\fR [command options] -\fBpki\fR [CLI options] \fBclient-cert-del\fR [command options] +\fBpki\fR [CLI options] \fBclient-cert-import\fR <nickname> [command options] +\fBpki\fR [CLI options] \fBclient-cert-del\fR <nickname> [command options] .fi .SH DESCRIPTION @@ -50,12 +50,12 @@ This command is to list certificates in the client security database. This command is to generate and submit a certificate request. .RE .PP -\fBpki\fR [CLI options] \fBclient-cert-import\fR [command options] +\fBpki\fR [CLI options] \fBclient-cert-import\fR <nickname> [command options] .RS 4 This command is to view a certificate in the client security database. .RE .PP -\fBpki\fR [CLI options] \fBclient-cert-del\fR [command options] +\fBpki\fR [CLI options] \fBclient-cert-del\fR <nickname> [command options] .RS 4 This command is to delete a certificate from the client security database. .RE @@ -78,13 +78,25 @@ To request a certificate: .B pki -d <security database location> -c <security database password> client-cert-request <subject DN> -To import a certificate into the security database: +To import a certificate from a file into the security database: -.B pki -d <security database location> -c <security database password> -n <certificate nickname> client-cert-import --cert <certificate file> +.B pki -d <security database location> -c <security database password> client-cert-import <nickname> --cert <certificate file> + +To import a CA certificate from a file into the security database: + +.B pki -d <security database location> -c <security database password> client-cert-import <nickname> --ca-cert <CA certificate file> + +To import a certificate from CA server into the security database: + +.B pki -d <security database location> -c <security database password> client-cert-import <nickname> --serial <serial number> + +To import a CA certificate from CA server into the security database: + +.B pki -d <security database location> -c <security database password> client-cert-import <nickname> --ca-server To delete a certificate from the security database: -.B pki -d <security database location> -c <security database password> client-cert-del <certificate nickname> +.B pki -d <security database location> -c <security database password> client-cert-del <nickname> .SH AUTHORS Ade Lee <alee@redhat.com>, Endi Dewata <edewata@redhat.com>, and Matthew Harmsen <mharmsen@redhat.com>. |