summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-11-07 00:09:19 +0100
committerEndi S. Dewata <edewata@redhat.com>2015-11-25 00:26:21 +0100
commit20c985ae773b26f653cac6d22bd9d93923e18c8e (patch)
treed10cf2d40b0434e35c0214700f26d4998db6778c /base/common/src/com/netscape
parentec9c68d68eabff3784fcf6dabf2c6745734b3c9c (diff)
downloadpki-20c985ae773b26f653cac6d22bd9d93923e18c8e.tar.gz
pki-20c985ae773b26f653cac6d22bd9d93923e18c8e.tar.xz
pki-20c985ae773b26f653cac6d22bd9d93923e18c8e.zip
Added mechanism to import existing CA certificate.
The deployment procedure for external CA has been modified such that it generates the CA CSR before starting the server. This allows the same procedure to be used to import CA certificate from an existing server. It also removes the requirement to keep the server running while waiting to get the CSR signed by an external CA. https://fedorahosted.org/pki/ticket/456
Diffstat (limited to 'base/common/src/com/netscape')
-rw-r--r--base/common/src/com/netscape/certsrv/system/ConfigurationRequest.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/system/ConfigurationRequest.java b/base/common/src/com/netscape/certsrv/system/ConfigurationRequest.java
index 7c6c339f5..8c9da6f37 100644
--- a/base/common/src/com/netscape/certsrv/system/ConfigurationRequest.java
+++ b/base/common/src/com/netscape/certsrv/system/ConfigurationRequest.java
@@ -178,6 +178,9 @@ public class ConfigurationRequest {
protected String adminCert;
@XmlElement
+ protected Boolean external;
+
+ @XmlElement
protected String standAlone;
@XmlElement
@@ -754,6 +757,14 @@ public class ConfigurationRequest {
this.adminCert = adminCert;
}
+ public Boolean isExternal() {
+ return external;
+ }
+
+ public void setExternal(Boolean external) {
+ this.external = external;
+ }
+
public boolean getStandAlone() {
return (standAlone != null && standAlone.equalsIgnoreCase("true"));
}
@@ -945,6 +956,7 @@ public class ConfigurationRequest {
", adminCert=" + adminCert +
", importAdminCert=" + importAdminCert +
", generateServerCert=" + generateServerCert +
+ ", external=" + external +
", standAlone=" + standAlone +
", stepTwo=" + stepTwo +
", authdbBaseDN=" + authdbBaseDN +