Overview
API Concepts Manage API Key
Internet Data
DNSIQ® WHOISIQ™ SSL Certificates Blacklist Lookup Host Attributes
Attack Analytics
Newly Observed Domains Newly Observed Hosts Malware Phishing Scam Content
Digital Footprint
Global Inventory API Global Inventory Schema Risk Metric Schema Workspace Management API
Coming Soon
Enrich
PassiveTotal
Getting Started Actions Artifact Articles Attack Surface Intelligence Intel Profiles Data Card Enrichment Services Monitor Project SSL Certificates Tag Artifact Trackers Host Attributes Cookies Components Passive DNS Whois Bulk Enrichment Reputation Vulnerability Intelligence
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/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
}