Services
API Concepts DNSIQ® Newly Observed Domains Newly Observed Hosts WHOISIQ™ SSL Certificates Blacklist
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 /v1/ssl/cert/host endpoint allows you to get the SSL certificates associated with a host. The /v1/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/v1/ssl/cert/host?host=140.141.2.100'

Response Body

{
  "content": [
    {
      "cert": {
        "firstSeen": 1474268400000,
        "lastSeen": 1474268400000,
        "count": 1,
        "sha1": "64f4799ab4ab9b13de20c8364894660046fd1bbf",
        "version": 3,
        "serialNumber": "e837ca25",
        "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": "organization",
            "name": "Denison University"
          },
          {
            "type": "unit",
            "name": "JAMF Distribution Server"
          },
          {
            "type": "common name",
            "name": "apple-2.cc.denison.edu"
          }
        ],
        "subjectID": null,
        "subjectAlternativeNames": [],
        "publicKeyAlgorithm": "RSA"
      },
      "host": {
        "firstSeen": 1474268400000,
        "lastSeen": 1477292400000,
        "count": 6,
        "host": "140.141.2.100",
        "port": 443
      }
    },
    {
      "cert": {
        "firstSeen": 1477897200000,
        "lastSeen": 1477897200000,
        "count": 1,
        "sha1": "3e808e8b7903a2d7fa8439ba27f64d6fca664409",
        "version": 3,
        "serialNumber": "8aa67f2f",
        "signatureAlgorithm": "SHA256withRSA",
        "signatureAlgorithmOid": "1.2.840.113549.1.1.11",
        "issuer": [
          {
            "type": "common name",
            "name": "apple-2.cc.denison.edu"
          },
          {
            "type": "country",
            "name": "US"
          }
        ],
        "issuerID": null,
        "issuerAlternativeNames": [],
        "notBefore": "2016-06-16 15:10:11",
        "notAfter": "2018-06-16 15:10:11",
        "subject": [
          {
            "type": "common name",
            "name": "apple-2.cc.denison.edu"
          },
          {
            "type": "country",
            "name": "US"
          }
        ],
        "subjectID": null,
        "subjectAlternativeNames": [],
        "publicKeyAlgorithm": "RSA"
      },
      "host": {
        "firstSeen": 1477897200000,
        "lastSeen": 1477897200000,
        "count": 1,
        "host": "140.141.2.100",
        "port": 443
      }
    }
  ],
  "last": true,
  "totalPages": 1,
  "totalElements": 2,
  "first": true,
  "size": 20,
  "number": 0,
  "sort": null,
  "numberOfElements": 2
}