지정된 인증서 주문에 대한 정보를 얻기 위해 {{order_id}}
을(를) 인증서의 지문 또는 일련번호로 대체할 수 있습니다.
이 엔드포인트를 사용하여 인증서 주문에 대한 상세 정보를 받습니다.
기술 연락처 정보는 조직 연락처에 복사됩니다.
curl -X GET \
https://www.digicert.com/services/v2/order/certificate/{{order_id}}\
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/order/certificate/{{order_id}}"
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/order/certificate/{{order_id}}"
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))
}
var request = require("request");
var options = { method: 'GET',
url: 'https://www.digicert.com/services/v2/order/certificate/{{order_id}}',
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);
});
{
"id": 123456,
"certificate": {
"common_name": "example.com",
"dns_names": [
"example2.com",
"example3.com"
],
"date_created": "2018-10-16T20:05:28+00:00",
"csr": "<csr>",
"organization": {
"id": 112233
},
"organization_units": [
"Not Fake Company Inc."
],
"server_platform": {
"id": -1,
"name": "OTHER",
"install_url": "http://www.digicert.com/SSL-certificate-installation.htm",
"csr_url": "http://www.digicert.com/csr-creation.htm"
},
"signature_hash": "sha256",
"key_size": 2048,
"ca_cert": {
"id": "<cert_id>",
"name": "DigiCert SHA2 Secure Server CA"
}
},
"status": "needs_approval",
"is_renewal": false,
"date_created": "2018-10-16T20:05:28+00:00",
"organization": {
"id": 112233,
"name": "Epigyne Unwieldiness llc",
"assumed_name": "Epigyne Unwieldiness",
"display_name": "Epigyne Unwieldiness llc (Epigyne Unwieldiness)",
"city": "Minneapolis",
"state": "mn",
"country": "us"
},
"validity_years": 1,
"disable_renewal_notifications": false,
"auto_renew": 0,
"container": {
"id": 15,
"name": "History Department",
"is_active": true
},
"product": {
"name_id": "ssl_plus",
"name": "Standard SSL",
"type": "ssl_certificate",
"validation_type": "ov",
"validation_name": "OV",
"validation_description": "Normal Organization Validation",
"csr_required": true
},
"organization_contact": {
"first_name": "Gia",
"last_name": "Booth",
"email": "gia.booth@inbox.com",
"job_title": "Clinical Laboratory Technician",
"telephone": "666-186-6450",
"telephone_extension": "736"
},
"technical_contact": {
"first_name": "Gia",
"last_name": "Booth",
"email": "gia.booth@inbox.com",
"job_title": "Clinical Laboratory Technician",
"telephone": "666-186-6450",
"telephone_extension": "736"
},
"user": {
"id": 44,
"first_name": "John",
"last_name": "Smith",
"email": "john.smith@digicert.com"
},
"purchased_dns_names": 2,
"requests": [
{
"id": 198,
"date": "2018-10-16T20:05:28+00:00",
"type": "new_request",
"status": "pending",
"comments": "Certificate comment."
}
],
"public_id": "<public_id>",
"is_out_of_contract": false,
"payment_method": "balance",
"product_name_id": "ssl_plus",
"custom_fields": [
{
"metadata_id": 12,
"label": "Invoice #",
"value": "123456"
}
],
"disable_issuance_email": false
}
{
"id": 123456,
"certificate": {
"common_name": "example.com",
"dns_names": [
"example2.com",
"example3.com"
],
"date_created": "2019-04-30T18:02:50+00:00",
"valid_from": "2019-04-30",
"valid_till": "2020-04-30",
"days_remaining": 289,
"csr": "<csr>",
"organization": {
"id": 112233
},
"organization_units": [
"Not Fake Company Inc."
],
"server_platform": {
"id": -1,
"name": "OTHER",
"install_url": "http://www.digicert.com/SSL-certificate-installation.htm",
"csr_url": "http://www.digicert.com/csr-creation.htm"
},
"signature_hash": "sha256",
"key_size": 2048,
"user_id": 12345
},
"status": "issued",
"is_renewal": false,
"date_created": "2019-04-30T18:02:50+00:00",
"organization": {
"id": 112233,
"name": "Epigyne Unwieldiness llc",
"assumed_name": "Epigyne Unwieldiness",
"display_name": "Epigyne Unwieldiness llc (Epigyne Unwieldiness)",
"city": "Minneapolis",
"state": "mn",
"country": "us"
},
"validity_years": 1,
"disable_renewal_notifications": false,
"auto_renew": 0,
"container": {
"id": 15,
"name": "History Department",
"is_active": true
},
"product": {
"name_id": "ssl_plus",
"name": "Standard SSL",
"type": "ssl_certificate",
"validation_type": "ov",
"validation_name": "OV",
"validation_description": "Normal Organization Validation",
"csr_required": true
},
"organization_contact": {
"first_name": "Gia",
"last_name": "Booth",
"email": "gia.booth@inbox.com",
"job_title": "Clinical Laboratory Technician",
"telephone": "666-186-6450",
"telephone_extension": "736"
},
"technical_contact": {
"first_name": "Gia",
"last_name": "Booth",
"email": "gia.booth@inbox.com",
"job_title": "Clinical Laboratory Technician",
"telephone": "666-186-6450",
"telephone_extension": "736"
},
"user": {
"id": 44,
"first_name": "John",
"last_name": "Smith",
"email": "john.smith@digicert.com"
},
"purchased_dns_names": 2,
"requests": [
{
"id": 198,
"date": "2018-10-16T20:05:28+00:00",
"type": "new_request",
"status": "pending",
"comments": "Certificate comment."
}
],
"public_id": "<public_id>",
"is_out_of_contract": false,
"payment_method": "balance",
"product_name_id": "ssl_plus",
"custom_fields": [
{
"metadata_id": 12,
"label": "Invoice #",
"value": "123456"
}
],
"disable_issuance_email": false
}
이름 | 유형 | 설명 |
---|---|---|
id | int | 주문 ID입니다. |
certificate | object | 인증서에 대한 상세 정보입니다. |
.. id | int | 인증서 ID입니다. |
.. thumbprint | string | 인증서의 지문입니다. |
.. serial_number * | string | 인증서의 일련 번호입니다. |
.. common_name | string | 인증서가 보호하는 이름입니다. |
.. emails | array | 인증서와 연결된 이메일의 목록입니다. |
.. dns_names | array | 인증서로 보호하는 추가 이름의 목록입니다. |
.. date_created | string |
인증서를 만들었을 때의 타임스탬프입니다. 형식: UTC 표준 시간대 ISO 8601 날짜 |
.. valid_from * | string |
인증서 유효 기간이 시작하는 날짜입니다. 형식: yyyy-MM-dd
|
.. valid_till * | string |
인증서의 만료 날짜입니다. 형식: yyyy-MM-dd
|
.. days_remaining | int | 인증서가 만료될 때까지 날짜의 수입니다. |
.. csr | string | 인증서 서명 요청입니다. |
.. organization | object | 인증서에 조직입니다. |
.. .. id | int | 조직 ID입니다. |
.. organization_units | array | 인증서에 조직 부서의 목록입니다. |
.. server_platform | object | 서버 플랫폼에 대한 상세 정보입니다. |
.. .. id | int |
서버 플랫폼 ID입니다. 용어집 — 서버 플랫폼을 참조하십시오. |
.. .. name | string | 서버 플랫폼의 이름입니다. |
.. .. install_url | string | 인증서 설치 방법에 대한 URL입니다. |
.. .. csr_url | string | CSR 생성 방법에 대한 URL입니다. |
.. signature_hash | string | 인증서에서 사용되는 서명 알고리즘입니다. |
.. key_size | int | 키에서 사용하는 비트의 수입니다. |
.. ca_cert | object | 인증서를 서명하는 데 사용하는 CA(인증 기관) 인증서입니다. |
.. .. id | string | CA 인증서 ID입니다. |
.. .. name | string | CA의 이름입니다. |
status | string |
주문의 상태입니다. 용어집 — 주문 상태를 참조하십시오. |
is_renewal | bool | 주문이 갱신인지 지정합니다. |
is_renewed | bool | 주문이 갱신되었는지 지정합니다. |
renewed_order_id | int |
이전 주문의 주문 ID입니다. 주문이 갱신인 경우에만 반환됩니다. |
date_created | string |
주문이 생성된 날짜입니다. 형식: UTC 표준 시간대 ISO 8601 날짜 |
organization | object | 주문과 연결된 조직의 상세 정보입니다. |
.. id | int | 조직 ID입니다. |
.. name | string | 조직의 법인명입니다. |
.. assumed_name | string |
조직의 공개 이름입니다. DBA 이름이라고도 합니다. |
.. display_name | string |
조직의 전체 이름입니다. 이름 + assumed_name을 사용하여 구성됩니다. |
.. city | string | 조직이 위치한 도시입니다. |
.. state | string | 조직이 위치한 주/도입니다. |
.. country | string | 조직이 위치한 국가입니다. |
validity_years | string | 인증서가 유효한 연도의 수입니다. |
disable_renewal_notifications | bool | 갱신 알림을 사용하는지 지정합니다. |
auto_renew | int |
자동 갱신을 사용하는지 지정합니다. 가능한 값: 0 (사용 안 함), 1 (사용)
|
container | object | 주문과 연결된 컨테이너의 상세 정보입니다. |
.. id | int | 컨테이너 ID입니다. |
.. name | string | 컨테이너의 이름입니다. |
.. is_active | bool | 컨테이너의 활성 상태입니다. |
product | object | 주문한 제품에 대한 상세 정보입니다. |
.. name_id | string |
제품의 이름 ID입니다. 용어집 — 제품 식별자를 참조하십시오. |
.. name | string |
제품의 이름을 표시합니다. 용어집 — 제품 식별자를 참조하십시오. |
.. type | string |
제품 유형입니다. 용어집 — 제품 유형을 참조하십시오. |
.. validation_type | string |
제품에서 사용하는 유효성 검사 유형입니다. 용어집 — 유효성 검사를 참조하십시오. |
.. validation_name | string | 유효성 검사 유형의 표시 이름입니다. |
.. validation_description | string | 유효성 검사 유형의 설명입니다. |
.. csr_required | bool | 제품 유형에 대해 CSR이 필요한지 지정합니다. |
organization_contact | object |
주문의 조직 연락처에 대한 상세 정보입니다. 구조체 — 연락처 상세 정보를 참조하십시오. |
technical_contact | object |
주문의 기술 연락처에 대한 상세 정보입니다. 구조체 — 연락처 상세 정보를 참조하십시오. |
user | object |
주문을 제출한 사용자에 대한 상세 정보입니다. 구조체 — 사용자 상세 정보 개체를 참조하십시오. |
purchased_dns_names | int | 구입한 추가 SAN의 수입니다. |
requests | array | 주문 요청에 대한 상세 정보를 포함하는 개체의 목록입니다. |
.. .. id | int(정수) | |
.. .. date | string | |
.. .. type | string | |
.. .. status | string | |
.. .. comments | string | |
receipt_id | int | 영수증 ID입니다. |
cs_provisioning_method | string |
문서 및 EV 코드 서명 주문에 대해 토큰을 보낼 방법을 지정합니다. 용어집 — CS 프로비전 방법을 참조하십시오. |
public_id | string | 빠른 설치에 대해 사용하는 ID입니다. |
allow_duplicates | bool | 주문이 복제 인증서를 허용하는지 지정합니다. |
user_assignments |
주문을 만든 또는 주문에 할당된 사용자의 목록입니다. 구조체 — 사용자 상세 정보 개체를 참조하십시오. |
|
is_out_of_contract | bool | 주문의 계약 상태입니다. |
payment_method | string |
주문에 대해 사용하는 결제 방법입니다. 가능한 값: balance (계정 잔액), credit (신용 카드), profile (계정 기본값 결제)
|
product_name_id | string |
제품의 이름 ID입니다. 용어집 — 제품 식별자를 참조하십시오. |
custom_fields | array | 사용자 지정 필드 데이터의 목록입니다. |
.. metadata_id | int | 사용자 지정 필드 메타데이터 ID입니다. |
.. label | string | 사용자 지정 필드의 이름입니다. |
.. value | string | 사용자 지정 필드에 대해 입력한 값입니다. |
disable_issuance_email | bool | 발급 이메일을 보내는지 지정합니다. |
disable_ct | bool | 인증서가 공개 CT 로그에 기록될 것인지 지정합니다. |
api_key | object |
주문이 서비스 API 또는 ACME를 통해 요청되었는지 지정합니다. 주문을 다른 방법(예, CertCentral 계정, 게스트 요청 URL 등)을 통하여 요청한 경우 생략됩니다. |
.. name | string | API 키의 이름 또는 ACME 디렉터리 URL입니다. |
.. key_type | string |
요청에 대해 사용하는 키 유형입니다. 가능한 값: api_key (API), acme_url (ACME)
|
* - 발급된 인증서 주문에 대해서만 반환됩니다.