Services
API Concepts PDNS Newly Observed Domains Newly Observed Hosts WHOIS SSL Certificates
Coming Soon
Host Attributes Enrich
Additional Resources
PassiveTotal API Manage API Key
RiskIQ.com

SSL Certificates

The SSL API endpoints support a variety of searches designed to assist security professionals. For example, the /v0/ssl/cert/host endpoint allows you to get the SSL certificates associated with a host. The /v0/ssl/cert/sha1 endpoint allows you to search for an SSL certificate by the SHA1 hash of the certificate.

 

What It Looks Like

Curl

curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic $ENCODED_API_KEY' 'https://api.riskiq.net/test/v0/ssl/cert/host?host=140.141.2.100'

Response Body

{
  "content": [
    {
      "cert": {
        "sha1": "64f4799ab4ab9b13de20c8364894660046fd1bbf",
        "version": 3,
        "serialNumber": "3895970341",
        "signatureAlgorithm": "SHA256withRSA",
        "signatureAlgorithmOid": "1.2.840.113549.1.1.11",
        "issuer": [
          [
            {
              "type": "common name",
              "name": "Denison University JSS Built-in Certificate Authority"
            }
          ]
        ],
        "issuerID": null,
        "issuerAlternativeNames": [],
        "notBefore": "2016-08-22 19:04:35",
        "notAfter": "2017-08-23 19:04:35",
        "subject": [
          [
            {
              "type": "common name",
              "name": "apple-2.cc.denison.edu"
            }
          ],
          [
            {
              "type": "unit",
              "name": "JAMF Distribution Server"
            }
          ],
          [
            {
              "type": "organization",
              "name": "Denison University"
            }
          ]
        ],
        "subjectID": null,
        "subjectAlternativeNames": [],
        "publicKeyAlgorithm": "RSA",
        "dates": [
          "2016-09-19"
        ],
        "names": [
          {
            "date": "2016-09-19",
            "name": "apple-2.cc.denison.edu"
          }
        ]
      },
      "hosts": [
        {
          "host": "140.141.2.100",
          "port": 443,
          "dates": [
            "2016-09-19"
          ]
        }
      ]
    }
  ],
  "last": true,
  "totalPages": 1,
  "totalElements": 1,
  "numberOfElements": 1,
  "first": true,
  "sort": null,
  "size": 20,
  "number": 0
}