summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/client/PKIConnection.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-02-01 14:31:15 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2013-02-02 02:57:50 -0500
commit4f7fb41fd393f00cf3931672d6f99be764a07f2e (patch)
treee3b8961ee56c6ae96d6475f4d34db25374c79290 /base/common/src/com/netscape/certsrv/client/PKIConnection.java
parent924e0f0fae49c0ffa63354a72147eea594412628 (diff)
downloadpki-4f7fb41fd393f00cf3931672d6f99be764a07f2e.tar.gz
pki-4f7fb41fd393f00cf3931672d6f99be764a07f2e.tar.xz
pki-4f7fb41fd393f00cf3931672d6f99be764a07f2e.zip
Fixed getInstallToken() invocation.
The configuration code has been modified to use the REST interface to get the installation token and ignore CA cert validation errors. Ticket #476
Diffstat (limited to 'base/common/src/com/netscape/certsrv/client/PKIConnection.java')
-rw-r--r--base/common/src/com/netscape/certsrv/client/PKIConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/certsrv/client/PKIConnection.java b/base/common/src/com/netscape/certsrv/client/PKIConnection.java
index 4556f1c6a..c339f3d67 100644
--- a/base/common/src/com/netscape/certsrv/client/PKIConnection.java
+++ b/base/common/src/com/netscape/certsrv/client/PKIConnection.java
@@ -214,7 +214,7 @@ public class PKIConnection {
// Ignore the "UNTRUSTED_ISSUER" validity status
// during PKI instance creation since we are
// utilizing an untrusted temporary CA cert.
- if (!config.InstanceCreationMode) {
+ if (!config.getInstanceCreationMode()) {
// Otherwise, issue a WARNING, but allow this process
// to continue since we haven't installed a trusted CA
// cert for this operation.
@@ -228,7 +228,7 @@ public class PKIConnection {
// Ignore the "CA_CERT_INVALID" validity status
// during PKI instance creation since we are
// utilizing an untrusted temporary CA cert.
- if (!config.InstanceCreationMode) {
+ if (!config.getInstanceCreationMode()) {
// Otherwise, set approval false to deny this
// certificate so that the connection is terminated.
// (Expect an IOException on the outstanding