이 엔드포인트를 사용하여 제품에 대한 상세 정보를 받습니다.
curl -X GET \
https://www.digicert.com/services/v2/product/{{name_id}} \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/product/{{name_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/product/{{name_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/product/{{name_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);
});
{
"group_name": "ssl_certificate",
"name_id": "ssl_plus",
"name": "Standard SSL",
"type": "ssl_certificate",
"duplicates_allowed": false,
"allowed_validity_years": [
1,
2
],
"signature_hash_types": {
"allowed_hash_types": [
{
"id": "sha256",
"name": "SHA-256"
},
{
"id": "sha384",
"name": "SHA-384"
},
{
"id": "sha512",
"name": "SHA-512"
}
],
"default_hash_type_id": "sha256"
},
"additional_dns_names_allowed": false,
"increased_compatibility_allowed": true,
"custom_expiration_date_allowed": true,
"csr_required": true,
"allow_auto_renew": true,
"fields": [],
"server_platforms": [
{
"id": 2,
"name": "Apache",
"install_url": "http://www.digicert.com/ssl-certificate-installation-apache.htm",
"csr_url": "http://www.digicert.com/csr-creation-apache.htm"
},
...
],
"license_agreement": "..."
}
이름 | 유형 | 설명 |
---|---|---|
group_name | string |
제품이 소속한 그룹입니다. 용어집 — 제품 그룹 이름을 참조하십시오. |
name_id | string |
제품 식별자입니다. 용어집 — 제품 식별자를 참조하십시오. |
name | string | 제품의 이름을 표시합니다. |
type | string |
제품 유형입니다. 용어집 — 제품 유형을 참조하십시오. |
duplicates_allowed | bool | 제품이 복제를 지원하는지 지정합니다. |
allowed_validity_years | array of ints | 제품에 대해 요청할 수 있는 허용된 유효성 연도의 목록입니다. |
signature_hash_types | object | 서명 해시 정보에 대한 컨테이너입니다. |
.. allowed_hash_types | array | 제품에 대해 허용된 해시 유형의 목록입니다. |
.. .. id | string |
해시 식별자입니다. 용어집 — 해시 유형을 참조하십시오. |
.. .. name | string | 해시 이름입니다. |
.. default_hash_type_id | string | 제품에 대해 사용되는 기본값 해시 유형입니다. |
additional_dns_names_allowed | bool | 제품이 추가 DNS 이름을 허용하는지 지정합니다. |
increased_compatibility_allowed | bool |
제품이 향상된 호환성 옵션을 허용하는지 지정합니다. DigiCert SSL 호환성을 참조하십시오. |
custom_expiration_date_allowed | bool | 제품에 대한 사용자 지정 만료 날짜를 설정할 수 있는지 지정합니다. |
csr_required | bool | 제품 유형을 요청할 때 CSR이 필요한지 지정합니다. |
allow_auto_renew | bool | 제품을 자동 갱신할 수 있는지 지정합니다. |
fields | array | |
server_platforms | array | 제품과 호환 가능한 서버 플랫폼의 목록입니다. |
.. id | int |
서버 플랫폼 ID입니다. 용어집 — 서버 플랫폼을 참조하십시오. |
.. name | string | 서버 플랫폼의 이름입니다. |
.. install_url | string | 설치 지침 URL입니다. |
.. csr_url | string | CSR 만들기 지침 URL입니다. |
.. best_format | string |
서버 플랫폼에 대해 반환된 기본값 인증서 형식입니다. 용어집 — 인증서 형식을 참조하십시오. |
license_agreement | string | 인증서 서비스 계약서 텍스트를 포함하는 매우 긴 문자열입니다. |