Zwischenzertifikate auflisten

GET
https://www.digicert.com/services/v2/certificate/intermediates

Verwenden Sie diesen Endpunkt, um die mit Ihrem Konto verknüpften Zwischenzertifikate aufzulisten.

Welche Zwischenzertifikate von diesem Endpunkt zurückgegeben werden, hängt von Ihrer Kontokonfiguration ab, z. B. welche Produkte aktiviert sind.

cURL
curl -X GET \
  https://www.digicert.com/services/v2/certificate/intermediates \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
import requests

url = "https://www.digicert.com/services/v2/certificate/intermediates"

payload = ""
headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"
    }

response = requests.request("GET", url, data=payload, headers=headers)

print(response.text)
Go
package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://www.digicert.com/services/v2/certificate/intermediates"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
NodeJS
var request = require("request");

var options = { method: 'GET',
  url: 'https://www.digicert.com/services/v2/certificate/intermediates',
  headers: 
   { 'Content-Type': 'application/json',
     'X-DC-DEVKEY': '{{api_key}}' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
200 OK
{
  "intermediates": [
    {
      "id": "75085B44A694E58",
      "subject_common_name": "DigiCert Assured ID CA-1",
      "subject_org_name": "DigiCert Inc",
      "valid_from": "2006-11-10 00:00:00",
      "valid_to": "2021-11-10 00:00:00",
      "serial_number": "06FDF9039603ADEA000AEB3F27BBBA1B",
      "thumbprint": "19A09B5A36F4DD99727DF783C17A51231A56C117",
      "signature_hash": "SHA1",
      "is_private": "0",
      "is_root": "0",
      "pem": "-----BEGIN CERTIFICATE-----\r\nMIIGzTCCBbWgAwIBAgIQBv35A5YDreoACus/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oZyrTh4rHVdFxc0ckeFlFbR67s2hHfMJKXzBBlVqefj56tizfuLLZDCwNK1\r\nlL1eT7EF0g49GqkUW6aGMWKoqDPkmzmnxPXOHXh2lCVz5Cqrz5x2S+1fwksW5Etw\r\nTACJHvzFebxMElf+X+EevAJdqP77BzhPDcZdkbkPZ0XN1oPt55INjbFpjE/7WeAj\r\nD9KqrgB87pxCDs+R1ye3Fu4Pw718CqDuLAhVhSK46xgaTfwqIa1JMYNHlXdx3LEb\r\nS0scEJx3FMGdTy9alQgpECY=\r\n-----END CERTIFICATE-----"
    },
    {
      "id": "FBA91527E6027CDC",
      "subject_common_name": "DigiCert EV Code Signing CA (SHA2)",
      "subject_org_name": "DigiCert Inc",
      "valid_from": "2012-04-18 12:00:00",
      "valid_to": "2027-04-18 12:00:00",
      "serial_number": "03F1B4E15F3A82F1149678B3D7D8475C",
      "thumbprint": "60EE3FC53D4BDFD1697AE5BEAE1CAB1C0F3AD4E3",
      "signature_hash": "SHA2-256",
      "is_private": "0",
      "is_root": "0",
      "pem": "-----BEGIN CERTIFICATE-----\r\nMIIGvDCCBaSgAwIBAgIQA/G04V86gvEUlniz19hHXDANBgkqhkiG9w0BAQsFADBs\r\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\nd3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j\r\nZSBFViBSb290IENBMB4XDTEyMDQxODEyMDAwMFoXDTI3MDQxODEyMDAwMFowbDEL\r\nMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3\r\nLmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgRVYgQ29kZSBTaWduaW5n\r\nIENBIChTSEEyKTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKdT+g+y\r\ntRPxZM+EgPyugDXRttf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YAaQBjAGEAdABl\r\nACAAYwBvAG4AcwB0AGkAdAB1AHQAZQBzACAAYQBjAGMAZQBwAHQAYQBuAGMAZQAg\r\nAG8AZgAgAHQAaABlACAARABpAGcAaQBDAGUAcgB0ACAAQwBQAC8AQwBQAFMAIABh\r\nAG4AZAAgAHQAaABlACAAUgBlAGwAeQBpAG4AZwAgAFAAYQByAHQAeQAgAEEAZwBy\r\nAGUAZQBtAGUAbgB0ACAAdwBoAGkAYwBoACAAbABpAG0AaQB0ACAAbABpAGEAYgBp\r\nAGwAaQB0AHkAIABhAG4AZAAgAGEAcgBlACAAaQBuAGMAbwByAHAAbwByAGEAdABl\r\nAGQAIABoAGUAcgBlAGkAbgAgAGIAeQAgAHIAZQBmAGUAcgBlAG4AYwBlAC4wHQYD\r\nVR0OBBYEFI/ofvBtMmoABSPHcJdqOpD/a+rUMB8GA1UdIwQYMBaAFLE+w2kD+L9H\r\nAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBCwUAA4IBAQAZM0oMgTM32602yeTJOru1\r\nGy56ouL0Q0IXnr9OoU3hsdvpgd2fAfLkiNXp/gn9IcHsXYDS8NbBQ8L+dyvb+deR\r\nM85s1bIZO+Yu1smTT4hAjs3h9X7xD8ZZVnLo62pBvRzVRtV8ScpmOBXBv+CRcHeH\r\n3MmNMckMKaIz7Y3ih82JjT8b/9XgGpeLfNpt+6jGsjpma3sBs83YpjTsEgGrlVil\r\nxFNXqGDm5wISoLkjZKJNu3yBJWQhvs/uQhhDl7ulNwavTf8mpU1hS+xGQbhlzrh5\r\nngiWC4GMijuPx5mMoypumG1eYcaWt4q5YS2TuOsOBEPX9f6m8GLUmWqlwcHwZJSA\r\n-----END CERTIFICATE-----\r\n"
    },
    {
      "id": "BFF28BD4075C8D9A",
      "subject_common_name": "DigiCert SHA2 Secure Server CA",
      "subject_org_name": "DigiCert Inc",
      "valid_from": "2013-03-08 12:00:00",
      "valid_to": "2023-03-08 12:00:00",
      "serial_number": "01FDA3EB6ECA75C888438B724BCFBC91",
      "thumbprint": "1FB86B1168EC743154062E8C9CC5B171A4B7CCB4",
      "signature_hash": "SHA2-256",
      "is_private": "0",
      "is_root": "0",
      "pem": "-----BEGIN CERTIFICATE-----\r\nMIIElDCCA3ygAwIBAgIQAf2j627KdciIQ4tyS8+8kTANBgkqhkiG9w0BAQsFADBh\r\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD\r\nQTAeFw0xMzAzMDgxMjAwMDBaFw0yMzAzMDgxMjAwMDBaME0xCzAJBgNVBAYTAlVT\r\nMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxJzAlBgNVBAMTHkRpZ2lDZXJ0IFNIQTIg\r\nU2VjdXJlIFNlcnZlciBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB\r\nANyuWJBNwcQwFZA1W248ghX1LFy949v/cUP6ZCWA1O4Yok3wZtAKc24RmDYXZK83\r\nnf36QYSvx6+M/hpzTc8zl5CilodTgyu5pnVILR1WN3vaMTIa16yrBvSqXUu3R0bd\r\nKpPDkC55gIDvEwRqFDu1m5K+wgdlTvza/P96rtxcflUxDOg5B6TXvi/TC2rSsd9f\r\n/ld0Uzs1gN2ujkSYs58O09rg1/RrKatEp0tYhG2SS4HD2nOLEpdIkARFdRrdNzGX\r\nkujNVA075ME/OV4uuPNcfhCOhkEAjUVmR7ChZc6gqikJTvOX6+guqw9ypzAO+sf0\r\n/RR3w6RbKFfCs/mC/bdFWJsCAwEAAaOCAVowggFWMBIGA1UdEwEB/wQIMAYBAf8C\r\nAQAwDgYDVR0PAQH/BAQDAgGGMDQGCCsGAQUFBwEBBCgwJjAkBggrBgEFBQcwAYYY\r\naHR0cDovL29jc3AuZGlnaWNlcnQuY29tMHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6\r\nLy9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RDQS5jcmwwN6A1\r\noDOGMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RD\r\nQS5jcmwwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8v\r\nd3d3LmRpZ2ljZXJ0LmNvbS9DUFMwHQYDVR0OBBYEFA+AYRyCMWHVLyjnjUY4tCzh\r\nxtniMB8GA1UdIwQYMBaAFAPeUDVW0Uy7ZvCj4hsbw5eyPdFVMA0GCSqGSIb3DQEB\r\nCwUAA4IBAQAjPt9L0jFCpbZ+QlwaRMxp0Wi0XUvgBCFsS+JtzLHgl4+mUwnNqipl\r\n5TlPHoOlblyYoiQm5vuh7ZPHLgLGTUq/sELfeNqzqPlt/yGFUzZgTHbO7Djc1lGA\r\n8MXW5dRNJ2Srm8c+cftIl7gzbckTB+6WohsYFfZcTEDts8Ls/3HB40f/1LkAtDdC\r\n2iDJ6m6K7hQGrn2iWZiIqBtvLfTyyRRfJs8sjX7tN8Cp1Tm5gr8ZDOo0rwAhaPit\r\nc+LJMto4JQtV05od8GiG7S5BNO98pVAdvzr508EIDObtHopYJeS4d60tbvVS3bR0\r\nj6tJLp07kzQoH3jOlOrHvdPJbRzeXDLz\r\n-----END CERTIFICATE-----\r\n"
    },
    ...
  ]
}

Reaktionsparameter

Name Typ Beschreibung
intermediates array Liste der zurückgegebenen Zwischenzertifikate
.. id string ID des Zwischenzertifikats
.. subject_common_name string Allgemeiner Name auf dem Zertifikat
.. subject_org_name string Organisationsname auf dem Zertifikat
.. valid_from string Zeitstempel, wann das Zertifikat ausgestellt wurde
Format: yyyy-MM-dd HH:mm:ss
.. valid_to string Ablaufdatum des Zertifikats
Format: yyyy-MM-dd HH:mm:ss
.. serial_number string Seriennummer des Zertifikats
.. thumbprint string Zertifikats-Fingerabdruck
.. signature_hash string Zum Signieren des Zertifikats verwendeter Hash-Algorithmus
.. is_private string Ist das Zwischenzertifikat öffentlich oder privat?
Mögliche Werte: 0 (öffentlich), 1 (privat)
.. is_root string Ist das Zwischenzertifikat ein Stammzertifikat?
Mögliche Werte: 0 (Nicht Stamm), 1 (Stamm)
.. pem string PEM-verschlüsseltes Zertifikat