diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-03-17 10:59:19 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-03-18 22:29:12 +0100 |
commit | 1b15c725b6e9c5d9057b66e0a2806a7813a8d61b (patch) | |
tree | 033e632a31eb24c5fa71c94cbe7cd2b14cbdcdc8 /base/server/python | |
parent | 2e02c078fb57fa806d3ff2bf7a1ed2df34966acc (diff) | |
download | pki-1b15c725b6e9c5d9057b66e0a2806a7813a8d61b.tar.gz pki-1b15c725b6e9c5d9057b66e0a2806a7813a8d61b.tar.xz pki-1b15c725b6e9c5d9057b66e0a2806a7813a8d61b.zip |
Renamed PKCS #12 options for consistency.
The pki CLI's --pkcs12 options has been renamed to --pkcs12-file
for consistency with pki-server CLI options.
https://fedorahosted.org/pki/ticket/1742
Diffstat (limited to 'base/server/python')
-rw-r--r-- | base/server/python/pki/server/__init__.py | 8 | ||||
-rw-r--r-- | base/server/python/pki/server/cli/ca.py | 24 | ||||
-rw-r--r-- | base/server/python/pki/server/cli/kra.py | 12 | ||||
-rw-r--r-- | base/server/python/pki/server/cli/ocsp.py | 14 | ||||
-rw-r--r-- | base/server/python/pki/server/cli/tks.py | 12 | ||||
-rw-r--r-- | base/server/python/pki/server/cli/tps.py | 12 |
6 files changed, 41 insertions, 41 deletions
diff --git a/base/server/python/pki/server/__init__.py b/base/server/python/pki/server/__init__.py index 114a6e461..b046f177e 100644 --- a/base/server/python/pki/server/__init__.py +++ b/base/server/python/pki/server/__init__.py @@ -202,7 +202,7 @@ class PKISubsystem(object): cmd.extend([ 'pkcs12-cert-add', - '--pkcs12', pkcs12_file, + '--pkcs12-file', pkcs12_file, '--pkcs12-password-file', pkcs12_password_file, ]) @@ -250,7 +250,7 @@ class PKISubsystem(object): cmd.extend([ 'pkcs12-export', - '--pkcs12', pkcs12_file, + '--pkcs12-file', pkcs12_file, '--pkcs12-password-file', pkcs12_password_file, nickname ]) @@ -269,7 +269,7 @@ class PKISubsystem(object): cmd.extend([ 'pkcs12-cert-del', - '--pkcs12', pkcs12_file, + '--pkcs12-file', pkcs12_file, '--pkcs12-password-file', pkcs12_password_file, nickname ]) @@ -579,7 +579,7 @@ class PKIInstance(object): cmd.extend([ 'pkcs12-cert-add', - '--pkcs12', pkcs12_file, + '--pkcs12-file', pkcs12_file, '--pkcs12-password-file', pkcs12_password_file, ]) diff --git a/base/server/python/pki/server/cli/ca.py b/base/server/python/pki/server/cli/ca.py index 54eabe299..dbf8239f4 100644 --- a/base/server/python/pki/server/cli/ca.py +++ b/base/server/python/pki/server/cli/ca.py @@ -68,12 +68,12 @@ class CACertChainExportCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server ca-cert-chain-export [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): @@ -323,12 +323,12 @@ class CAClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server ca-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): diff --git a/base/server/python/pki/server/cli/kra.py b/base/server/python/pki/server/cli/kra.py index ba1bf5a97..cba3e234b 100644 --- a/base/server/python/pki/server/cli/kra.py +++ b/base/server/python/pki/server/cli/kra.py @@ -57,12 +57,12 @@ class KRAClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server kra-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): diff --git a/base/server/python/pki/server/cli/ocsp.py b/base/server/python/pki/server/cli/ocsp.py index 45d7fca83..c32e8ded6 100644 --- a/base/server/python/pki/server/cli/ocsp.py +++ b/base/server/python/pki/server/cli/ocsp.py @@ -57,12 +57,12 @@ class OCSPClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server ocsp-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): @@ -85,7 +85,7 @@ class OCSPClonePrepareCLI(pki.cli.CLI): if o in ('-i', '--instance'): instance_name = a - elif o == '--pkcs12': + elif o == '--pkcs12-file': pkcs12_file = a elif o == '--pkcs12-password': diff --git a/base/server/python/pki/server/cli/tks.py b/base/server/python/pki/server/cli/tks.py index 2bdfce84a..0bcf748c3 100644 --- a/base/server/python/pki/server/cli/tks.py +++ b/base/server/python/pki/server/cli/tks.py @@ -57,12 +57,12 @@ class TKSClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server tks-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): diff --git a/base/server/python/pki/server/cli/tps.py b/base/server/python/pki/server/cli/tps.py index 731b9720c..f40223ddb 100644 --- a/base/server/python/pki/server/cli/tps.py +++ b/base/server/python/pki/server/cli/tps.py @@ -57,12 +57,12 @@ class TPSClonePrepareCLI(pki.cli.CLI): def print_help(self): print('Usage: pki-server tps-clone-prepare [OPTIONS]') print() - print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') - print(' --pkcs12-file PKCS #12 file to store certificates and keys.') - print(' --pkcs12-password Password for the PKCS #12 file.') - print(' --pkcs12-password-file File containing the PKCS #12 password.') - print(' -v, --verbose Run in verbose mode.') - print(' --help Show help message.') + print(' -i, --instance <instance ID> Instance ID (default: pki-tomcat).') + print(' --pkcs12-file <path> PKCS #12 file to store certificates and keys.') + print(' --pkcs12-password <password> Password for the PKCS #12 file.') + print(' --pkcs12-password-file <path> File containing the PKCS #12 password.') + print(' -v, --verbose Run in verbose mode.') + print(' --help Show help message.') print() def execute(self, args): |