Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp CerificateJobInfo ermittelt die Informationen eines Zertifikats-Auftrags, der mit der Job-ID angegeben wird.

In der Antwort des Systems sind z. B. Informationen über den Status des laufenden Auftrags enthalten.

Beschreibung

Route: GET /job/{id}

Request
{
}
Response
{
    "stid": "20210406-app3-dev-10808",
    "status": {
        "code": "S300114",
        "text": "Der Workflow-Auftrag wurde erfolgreich ermittelt.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "ObjectJob",
        "value": "4299710353"
    },
    "data": [
        {
            "job": {
                "created": "2021-03-29T15:48:25.000+0200",
                "updated": "2021-04-06T13:52:18.000+0200",
                "owner": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "updater": {
                    "context": 9,
                    "user": "exampleuser"
                },
                "status": "DEFERRED",
                "subStatus": "WF_DNS_AUTH",
                "execution": "2021-04-06T14:02:18.000+0200",
                "subType": "BASIC_SSL",
                "action": "create",
                "id": 4299710353
            },
            "object": {
                "type": "Certificate",
                "value": "example.xn--p1ai",
                "data": {
                    "id": 1658050,
                    "partnerOrderId": "IX-CC-4299720353",
                    "adminContact": {
                        "id": -1
                    },
                    "technicalContact": {
                        "extensions": {
                            "general": {
                                "joiCountryName": "DE",
                                "joiLocality": "Regensburg",
                                "joiStateOrProvince": "Bayern",
                                "companyNumber": "123456789",
                                "businessCategory": "GOVERNMENT_ENTITY"
                            }
                        },
                        "fname": "Example",
                        "lname": "Person",
                        "phone": "+49-555-12345",
                        "fax": "+49-555-345678",
                        "email": "example@example.com",
                        "title": "Herr",
                        "organization": "Super Company",
                        "address": [
                            "Examplestreet 6"
                        ],
                        "pcode": "93055",
                        "city": "Regens urg",
                        "country": "DE",
                        "state": "Bayern",
                        "id": 100
                    },
                    "name": "example.xn--p1ai",
                    "lifetime": {
                        "unit": "MONTH",
                        "period": 12
                    },
                    "software": "IIS5",
                    "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICczCCAVsCAQAwLjEfMB0GA1UEAwwWeG4tLWQxYWNwangzZi54bi0tcDFhaTEL\nMAkGA1UEBhMCREUwggEiMA0GCSqGSIb2DQEBAQUAA4IBDwAwggEKAoIBAQDVb70j\nUgJCnPPuJBNyu6Pu0smO5J5AkiULtzGBYr+lZ/BTUZp5LrMi4p7yj9Y0F3XYdA5V\noem8i6Sj7QYifTUEQ4RG+g5RKzTqHAltSSBWEbEw+oltoAReyXY8MHPRYE6eVcZm\nW4WuhXzDOja0+rFVVCCyOKDBw4ijfNb5gHfbqRuKkO5I7ZQJAeDL3udZ8H4cJ8py\n5ZiZcfir2y8sCf8LKagqh8ZsjwuCEh5Q5RY182f9pu/Ytw25P6Jt+wCdlDWsUxfC\nc4hwGWWffTxYOSwwMLDgfp8K+7p3aEfNxUIypRSSj59TvZSvHVrDxzThkaUIHBoA\nwTX3qB7/jukbp3KNAgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAQEAHLLQr7ZFrgmi\nNpT2sEuevB/CaSYmqnmRXfa6aMYM7rCXzHoCz+MzxAB9QiQ0YcDUgb4BYNukhh1M\nxYFpjD9qzryX5pxgph8Ah7DChmOjyGD5dGDJ01c4eE0Cvl4Po9aRC7+d0vUHc9Iy\neTRBD5ce+WW1w81gDsRkJRLQRbA7Tq2x0+BhvFq/VhUfvtivAM3w2DEtkWY/9hj8\nuqHHTcIBxtpDNWuVBqMMxwIRIl5NxyhBdy8caqvLdAoA0PpMj/vwZ3iu1LUDAudC\n192l8cCiVaECDDXmDV+MoFBLmFsMVNktPzB5OMo7FDdlGuvLqm2EIe+Xgp1T8Zau\ncfv9BEwhcg==\n-----END CERTIFICATE REQUEST-----",
                    "product": "BASIC_SSL",
                    "signatureHashAlgorithm": "SHA256",
                    "extension": {},
                    "certificationAuthority": [],
                    "authentication": {
                        "method": "DNS",
                        "dns": "_dnsauth.example.xn--p1ai.\t300\tIN\tTXT\t\"202103291332480n0t65rk9stjwve73qgivmqg8f4ug2ch0ohlzcp280ajz7noum\""
                    },
                    "certificateTransparencyPrivacy": "PUBLIC"
                }
            },
            "authentication": [
                {
                    "status": "IN_PROGRESS",
                    "step": "DOMAIN_VERIFICATION"
                }
            ],
            "dcv": [
                {
                    "status": "DNS_TOKEN_INCORRECT",
                    "domain": "example.xn--p1ai"
                },
                {
                    "status": "DNS_TOKEN_INCORRECT",
                    "domain": "example.xn--p1ai"
                },
                {
                    "status": "DNS_TOKEN_INCORRECT",
                    "domain": "www.example.xn--p1ai"
                },
                {
                    "status": "DNS_TOKEN_INCORRECT",
                    "domain": "www.example.xn--p1ai"
                },
                {
                    "status": "DNS_TOKEN_INCORRECT",
                    "domain": "www.example.xn--p1ai"
                }
            ]
        }
    ]
}

Auftragstyp-Code: 400114
Verwendet Objekt CertificateJob

Request
<request>
     <auth>
         <user>USER</user>
         <password>PASSWORD</password>
         <context>CONTEXT</context>
     </auth>
     <task>
         <code>400114</code>
         <certificate_job>
             <job>
                 <id>100</id>
             </job>
         </certificate_job>
     </task>
 </request>
Response
 <response>
    <result>
        <data>
            <certificate_job>
                <certificate>
                    <order_id>1000</order_id>
                    <admin>
                        <first>John</first>
                        <last>Doe</last>
                        <phone>+49-0-0</phone>
                        <fax>+49-0-0</fax>
                        <email>john.doe@domain.com</email>
                        <title>Admin</title>
                        <organization>Organization</organization>
                        <address>123 Examplestreet</address>
                        <postal_code>12345</postal_code>
                        <city>Examplecity</city>
                        <country>DE</country>
                        <state>BY</state>
                        <id>882</id>
                    </admin>
                    <technical>
                        <first>John</first>
                        <last>Doe</last>
                        <phone>+49-0-0</phone>
                        <fax>+49-0-0</fax>
                        <email>john.doe@domain.com</email>
                        <title>Admin</title>
                        <organization>Organization</organization>
                        <address>123 Examplestreet</address>
                        <postal_code>12345</postal_code>
                        <city>Examplecity</city>
                        <country>DE</country>
                        <state>BY</state>
                        <id>882</id>
                    </technical>
                    <name>domain.com</name>
                    <lifetime>12</lifetime>
                    <software>APACHE2</software>
                    <csr><![CDATA[-----BEGIN CERTIFICATE REQUEST----- ... -----END CERTIFICATE REQUEST-----]]></csr>
                    <server><![CDATA[-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----]]></server>
                    <serial_number>e5534528bb1d567982a26e5cdde66ec</serial_number>
                    <product>BASIC_SSL</product>
                    <sha>SHA2</sha>
                    <expire>2019-06-10 23:59:59</expire>
                    <extension/>
                    <certification_authority>
                        <ca_type>ICA1</ca_type>
                        <ca_cert><![CDATA[-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----]]></ca_cert>
                    </certification_authority>
                    <authentication>
                        <method>DNS</method>
                        <dns>domain.com. 300 IN TXT "2018061108071604akp6pdd0sxiwnbkzfc7nw4pk5h6kwo27lk8t6b6ussvzpkvi"</dns>
                        <provisioning>1</provisioning>
                    </authentication>
                    <certificate_transparency_privacy>PUBLIC</certificate_transparency_privacy>
                    <id>100</id>
                    <created>2018-06-11 00:00:00</created>
                </certificate>
                <job>
                    <id>100</id>
                    <owner>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </owner>
                    <updater>
                        <user>USER</user>
                        <context>CONTEXT</context>
                    </updater>
                    <object>domain.com</object>
                    <status>NOT_SET</status>
                    <created>2018-06-11 10:07:16</created>
                    <updated>2018-06-11 10:07:16</updated>
                    <type>ssl</type>
                    <sub_type>BASIC_SSL</sub_type>
                    <action>create</action>
                    <execution>2018-06-11 10:07:16</execution>
                </job>
            </certificate_job>
        </data>
        <status>
            <code>S400114</code>
            <text>Zertifikats-Bestellung wurde erfolgreich ermittelt.</text>
            <type>success</type>
            <object>
                <type>certificate_job</type>
                <value>100</value>
            </object>
        </status>
    </result>
    <stid>STID-1001</stid>
</response>