# TLS Checker for Public HTTPS Endpoint Audits

**Use case:** 

Run a TLS checker task for public HTTPS endpoints and export protocol, cipher, trust-chain, hostname, HSTS, and issue evidence.

## Input

```json
{
  "targets": [
    "cloudflare.com",
    "www.cloudflare.com:8443",
    "nodejs.org"
  ],
  "warningThresholdDays": 30
}
```

## Output

```json
{
  "target": {
    "label": "Target",
    "format": "string"
  },
  "host": {
    "label": "Host",
    "format": "string"
  },
  "port": {
    "label": "Port",
    "format": "integer"
  },
  "isValid": {
    "label": "Valid certificate",
    "format": "boolean"
  },
  "isExpiringSoon": {
    "label": "Expiring soon",
    "format": "boolean"
  },
  "daysUntilExpiry": {
    "label": "Days until expiry",
    "format": "integer"
  },
  "validTo": {
    "label": "Valid to",
    "format": "string"
  },
  "hostnameMatches": {
    "label": "Hostname matches",
    "format": "boolean"
  },
  "isTrusted": {
    "label": "Trusted chain",
    "format": "boolean"
  },
  "tlsProtocol": {
    "label": "TLS protocol",
    "format": "string"
  },
  "cipher": {
    "label": "Cipher",
    "format": "string"
  },
  "issuer": {
    "label": "Issuer",
    "format": "object"
  },
  "subject": {
    "label": "Subject",
    "format": "object"
  },
  "fingerprintSha256": {
    "label": "SHA-256 fingerprint",
    "format": "string"
  },
  "subjectAlternativeNames": {
    "label": "Subject alternative names",
    "format": "array"
  },
  "certificateChain": {
    "label": "Certificate chain",
    "format": "array"
  },
  "httpRedirectsToHttps": {
    "label": "HTTP redirects to HTTPS",
    "format": "boolean"
  },
  "hsts": {
    "label": "HSTS",
    "format": "object"
  },
  "issues": {
    "label": "Issues",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [SSL Certificate Checker](https://apify.com/maximedupre/ssl-certificate-checker) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/ssl-certificate-checker) to learn more, explore other use cases, and run it yourself.