Product info

GET
https://www.digicert.com/services/v2/product/{{name_id}}

Use this endpoint to get details for a product.

cURL
curl -X GET \
  https://www.digicert.com/services/v2/product/{{name_id}} \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
Python
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)
Go
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))

}
NodeJS
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);
});
200 OK
{
  "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": "..."
}

Response parameters

Name Type Description
group_name string Group to which the product belongs.
See Glossary – Product group names
name_id string Product identifier.
See Glossary – Product identifiers
name string Display name of the product.
type string Product type.
See Glossary – Product types
duplicates_allowed bool Specifies if the product supports duplicates.
allowed_validity_years array of ints List of allowed validity years that can be requested for the product.
signature_hash_types object Container for signature hash info.
.. allowed_hash_types array List of allowed hash types for the product.
.. .. id string Hash identifier.
See Glossary – Hash types
.. .. name string Hash name.
.. default_hash_type_id string Default hash type used for the product.
additional_dns_names_allowed bool Specifies if the product allows additional DNS names.
increased_compatibility_allowed bool Specifies if the product allows for increased compatibility options.
See DigiCert SSL Compatibility
custom_expiration_date_allowed bool Specifies if custom expiration dates can be set for the product.
csr_required bool Specifies if a CSR is required when requesting the product type.
allow_auto_renew bool Specifies if product can be auto renewed.
fields array
server_platforms array List of server platforms compatible with the product.
.. id int Server platform ID.
See Glossary – Server platforms
.. name string Name of the server platform.
.. install_url string Installation instructions URL.
.. csr_url string CSR creation instructions URL.
license_agreement string Very long string that contains the Certificate Services Agreement text.