Get Certificate

This API is used to get certifcate detailed information.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v1.0/certificates/{certificateId}
  • Request Method
GET
  • Request Header

Refer to HTTP Request Headers

  • Request Body
No request Body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
id int Certificate ID.
customerId int Customer ID of certificate.
name string Certificate name.
commonName string Certificate common name.
type string Certificate type, "single": Single domain SSL, "wildcard": wildcard SSL, "san": Multiple domain SAN SSL.
subjectAlternativeNames string Certificate subject alternative names.
serialNumber string Certificate serial number.
issuer string Certificate issuer.
organization string Certificate organization.
organizationalUnit string Certificate organizational unit.
country string Certificate country.
stateOrProvince string Certificate state or province.
locality string Certificate locality or city.
validFrom string The valid from date that cerficate can be used.
validTo string The expired date of cerficate.
created string The date that cerficate was created.
  • Response Body Example
{
    "id": 101,
    "customerId": 10,
    "name": "www.website1.com",
    "type": "single",
    "commonName": "www.website1.com",
    "subjectAlternativeNames": "DNS:www.website1.com",
    "serialNumber": "273382759972166399460921282283500328610625",
    "issuer": "Let's Encrypt Authority X3",
    "organization": "Conversant",
    "organizationalUnit": "Conversant",
    "country": "Singapore",
    "stateOrProvince": "Singapore",
    "locality": "Singapore",
    "validFrom": "2019-01-01T04:28:32Z",
    "validTo": "2019-04-01T04:28:32Z",
    "created": "2019-01-01T04:28:32Z"
}
           Updated 2019-05-23 03:46:25

results matching ""

    No results matching ""