Hi,
I was able to resolve my issue using the information Endi provided. I have
included the CLI output below with the CSR redacted.
Thanks again,
Peter
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<CertEnrollmentRequest>
<ProfileID>caUserCert</ProfileID>
<Renewal>false</Renewal>
<SerialNumber></SerialNumber>
<RemoteHost></RemoteHost>
<RemoteAddress></RemoteAddress>
<Input id="i1">
<ClassID>keyGenInputImpl</ClassID>
<Name>Key Generation</Name>
<Attribute name="cert_request_type">
<Value>pkcs10</Value>
<Descriptor>
<Syntax>keygen_request_type</Syntax>
<Description>Key Generation Request Type</Description>
</Descriptor>
</Attribute>
<Attribute name="cert_request">
<Value>CSR GOES HERE
</Value>
<Descriptor>
<Syntax>keygen_request</Syntax>
<Description>Key Generation Request</Description>
</Descriptor>
</Attribute>
</Input>
<Input id="i2">
<ClassID>subjectNameInputImpl</ClassID>
<Name>Subject Name</Name>
<Attribute name="sn_uid">
<Value>testuser</Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>UID</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_e">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Email</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_cn">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Common Name</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_ou3">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Organizational Unit 3</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_ou2">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Organizational Unit 2</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_ou1">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Organizational Unit 1</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_ou">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Organizational Unit</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_o">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Organization</Description>
</Descriptor>
</Attribute>
<Attribute name="sn_c">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Country</Description>
</Descriptor>
</Attribute>
</Input>
<Input id="i3">
<ClassID>submitterInfoInputImpl</ClassID>
<Name>Requestor Information</Name>
<Attribute name="requestor_name">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Requestor Name</Description>
</Descriptor>
</Attribute>
<Attribute name="requestor_email">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Requestor Email</Description>
</Descriptor>
</Attribute>
<Attribute name="requestor_phone">
<Value></Value>
<Descriptor>
<Syntax>string</Syntax>
<Description>Requestor Phone</Description>
</Descriptor>
</Attribute>
</Input>
</CertEnrollmentRequest>
On Wed, Jun 24, 2015 at 2:44 PM, Endi Sukma Dewata <edewata(a)redhat.com>
wrote:
On 6/24/2015 1:31 PM, Peter P. wrote:
> Hi Endi,
>
> Is there more documentation for the whole XML schema described on that
> page? I believe for my use case I will need to adjust some of the tags
> present in my XML posts to Dogtag.
>
> Thank you,
>
> Peter
>
Right now we don't have XML schema documentation yet because the XML is
generated automatically from a POJO. So for now you'd have to look at the
code, or capture the CLI output like I showed you earlier, to figure out
the XML format. Please feel free to file a ticket for this. Thanks!
--
Endi S. Dewata