diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-12-06 14:23:21 -0800 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2012-12-06 14:41:28 -0800 |
commit | 8d5eb937f99fd18398401f3f744eb85775293e23 (patch) | |
tree | fec1f35d9b315f574e6393b402a65585392e23eb /base/deploy/src/scriptlets/configuration.jy | |
parent | 6180bb1b8a450d0e69d10c5e9bd85996e2858599 (diff) | |
download | pki-8d5eb937f99fd18398401f3f744eb85775293e23.tar.gz pki-8d5eb937f99fd18398401f3f744eb85775293e23.tar.xz pki-8d5eb937f99fd18398401f3f744eb85775293e23.zip |
Implemented ability to utilize an external CA
* TRAC Ticket #231 - Dogtag 10: Update PKI Deployment to handle external CA
Diffstat (limited to 'base/deploy/src/scriptlets/configuration.jy')
-rw-r--r-- | base/deploy/src/scriptlets/configuration.jy | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/base/deploy/src/scriptlets/configuration.jy b/base/deploy/src/scriptlets/configuration.jy index 80543b856..5af3becf5 100644 --- a/base/deploy/src/scriptlets/configuration.jy +++ b/base/deploy/src/scriptlets/configuration.jy @@ -100,21 +100,8 @@ def main(argv): log.PKI_JYTHON_NOT_YET_IMPLEMENTED) return rv elif master['pki_instance_type'] == "Tomcat": - if master['pki_subsystem'] == "CA": - if config.str2bool(master['pki_external']): - print "%s '%s %s' %s" %\ - (log.PKI_JYTHON_INDENTATION_2, - config.PKI_DEPLOYMENT_EXTERNAL_CA, - master['pki_subsystem'], - log.PKI_JYTHON_NOT_YET_IMPLEMENTED) - return rv - else: - # PKI, Subordinate, or Cloned CA - data = jyutil.rest_client.construct_pki_configuration_data( - token) - else: - # PKI or Cloned KRA, OCSP, or TKS - data = jyutil.rest_client.construct_pki_configuration_data(token) + # PKI or Cloned CA, KRA, OCSP, or TKS, Subordinate CA, or External CA + data = jyutil.rest_client.construct_pki_configuration_data(token) # Formulate PKI Subsystem Configuration Data Response jyutil.rest_client.configure_pki_data(data) |