diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-03-21 02:46:12 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-03-21 03:29:12 +0100 |
commit | 516e9360f96721bdbd0301b12120c9d47225e5e4 (patch) | |
tree | 768d4bda4b4fbf3883a8bc7598f1fb0ae376d7cc /base/java-tools | |
parent | 2c4beb83a1dd772e02f5809e610319fcf1812034 (diff) | |
download | pki-516e9360f96721bdbd0301b12120c9d47225e5e4.tar.gz pki-516e9360f96721bdbd0301b12120c9d47225e5e4.tar.xz pki-516e9360f96721bdbd0301b12120c9d47225e5e4.zip |
Allowing client cert auth without NSS database password.
The PKI CLI has been modified to support client cert authentication
without NSS database password.
Diffstat (limited to 'base/java-tools')
-rw-r--r-- | base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java b/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java index 653695173..d7246d60c 100644 --- a/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java @@ -366,9 +366,6 @@ public class MainCLI extends CLI { if (certPasswordFile != null && certPassword != null) { throw new Exception("The '-C' and '-c' options are mutually exclusive."); - - } else if (certPasswordFile == null && certPassword == null) { - throw new Exception("Missing security database password."); } } else if (username != null) { // basic authentication @@ -402,14 +399,6 @@ public class MainCLI extends CLI { // XXX TBD set client security database token certPassword = tokenPasswordPair[1]; - - } else if (certNickname != null && certPassword == null) { - // prompt for security database password if required for authentication - // - // NOTE: This overrides the password callback provided - // by JSS for NSS security database authentication. - // - certPassword = promptForPassword("Enter Client Security Database Password: "); } // store security database password |