diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2013-11-14 13:16:59 -0500 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2013-11-15 12:40:28 -0500 |
| commit | 88b5bfea749ead60c609cab9ee406e09f33e93d6 (patch) | |
| tree | 3b8423baaf5ca684540dd95bdd3abca01773ef65 /base/common | |
| parent | c73890c7c617732a84d009e117ff7aeab0133053 (diff) | |
| download | pki-88b5bfea749ead60c609cab9ee406e09f33e93d6.tar.gz pki-88b5bfea749ead60c609cab9ee406e09f33e93d6.tar.xz pki-88b5bfea749ead60c609cab9ee406e09f33e93d6.zip | |
Added client-init command.
A new CLI command has been added to simplify the creation of client
certificate database.
Diffstat (limited to 'base/common')
| -rw-r--r-- | base/common/src/com/netscape/certsrv/client/PKIClient.java | 3 | ||||
| -rw-r--r-- | base/common/src/com/netscape/certsrv/client/PKIConnection.java | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/base/common/src/com/netscape/certsrv/client/PKIClient.java b/base/common/src/com/netscape/certsrv/client/PKIClient.java index 3bfc8080b..65a1b93ea 100644 --- a/base/common/src/com/netscape/certsrv/client/PKIClient.java +++ b/base/common/src/com/netscape/certsrv/client/PKIClient.java @@ -1,6 +1,5 @@ package com.netscape.certsrv.client; -import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; @@ -37,8 +36,6 @@ public class PKIClient { public ClientConfig config; public PKIConnection connection; - public File certDatabase; - public boolean verbose; public PKIClient(ClientConfig config) { diff --git a/base/common/src/com/netscape/certsrv/client/PKIConnection.java b/base/common/src/com/netscape/certsrv/client/PKIConnection.java index d057deba0..cf103a9f8 100644 --- a/base/common/src/com/netscape/certsrv/client/PKIConnection.java +++ b/base/common/src/com/netscape/certsrv/client/PKIConnection.java @@ -454,7 +454,7 @@ public class PKIConnection { CryptoManager.getInstance(); } catch (NotInitializedException e) { - throw new IOException(e); + throw new IOException("Certificate database not initialized.", e); } String hostName = null; |
