dogtagpki / pki

The Dogtag Certificate System is an enterprise-class Certificate Authority (CA) which supports all aspects of certificate lifecycle management, including key archival, OCSP and smartcard management.
https://www.dogtagpki.org
GNU General Public License v2.0
363 stars 135 forks source link

getDomainXML has badly formatted output #1181

Open pki-bot opened 3 years ago

pki-bot commented 3 years ago

This issue was migrated from Pagure Issue #611. Originally filed by vakwetu (@vakwetu) on 2013-05-08 15:35:43:


<XMLResponse>
  <DomainInfo>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <DomainInfo>
        <Name>IPA</Name>
        <CAList>
          <CA><Host>vm-093.idm.lab.bos.redhat.com</Host>
              <UnSecurePort>80</UnSecurePort>
              <SecurePort>443</SecurePort>
              <SecureEEClientAuthPort>443</SecureEEClientAuthPort>
              <SecureAgentPort>443</SecureAgentPort>
              <SecureAdminPort>443</SecureAdminPort>
              <Clone>FALSE</Clone>
              <SubsystemName>CA vm-093.idm.lab.bos.redhat.com 8443</SubsystemName>
              <DomainManager>TRUE</DomainManager>
          </CA>
          <SubsystemCount>1</SubsystemCount>
        </CAList>
        <KRAList><SubsystemCount>0</SubsystemCount></KRAList>
        <OCSPList><SubsystemCount>0</SubsystemCount></OCSPList>
        <TKSList><SubsystemCount>0</SubsystemCount></TKSList>
        <RAList><SubsystemCount>0</SubsystemCount></RAList>
        <TPSList><SubsystemCount>0</SubsystemCount></TPSList>
      </DomainInfo>
    </DomainInfo>
  <Status>0</Status>
</XMLResponse>

Notice the DomainInfo XML fragment within the DomainInfo element. This is easy enough to fix -- and most likely its only a problem on the old interfaces - a problem that was introduced when the SecurityDomainProcessor was introduced, but we will need to check all the places it is used, and make sure they still work.

pki-bot commented 3 years ago

Comment from vakwetu (@vakwetu) at 2017-02-27 14:11:17

Metadata Update from @vakwetu: