UtilityActive
SSL Certificate Check
Inspect SSL/TLS certificate for any domain. Returns valid boolean, days_remaining, issuer, valid_from, valid_to, subject_alt_names (SANs), fingerprint_sha256, and protocol version. Default port 443. Use for certificate expiry monitoring, security audits, or HTTPS verification.
Input Schema
{
"type": "object",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"description": "Domain to check SSL for (e.g. 'github.com', 'api.example.com'). Do not include https://"
},
"port": {
"type": "integer",
"default": 443,
"description": "Port to check (default: 443)"
}
}
}
Output Schema
{
"type": "object",
"required": [
"domain",
"port",
"valid",
"days_remaining"
],
"properties": {
"domain": {
"type": "string",
"description": "The checked domain"
},
"port": {
"type": "integer",
"description": "The port that was checked"
},
"valid": {
"type": "boolean",
"description": "true if certificate is currently valid and not expired"
},
"subject": {
"type": "string",
"description": "Certificate subject (CN=...)"
},
"subject_alt_names": {
"type": "array",
"items": {
"type": "string"
},
"description": "Subject Alternative Names the cert is valid for"
},
"issuer": {
"type": "string",
"description": "Certificate issuer organization"
},
"valid_from": {
"type": "string",
"format": "date-time",
"description": "Certificate valid-from date (ISO 8601)"
},
"valid_to": {
"type": "string",
"format": "date-time",
"description": "Certificate expiry date (ISO 8601)"
},
"days_remaining": {
"type": "integer",
"description": "Number of days until certificate expires (negative = already expired)"
},
"serial_number": {
"type": "string",
"description": "Certificate serial number (hex)"
},
"fingerprint_sha256": {
"type": "string",
"description": "SHA-256 fingerprint of the certificate"
},
"protocol": {
"type": "string",
"description": "TLS protocol version in use (e.g. TLSv1.3)"
}
},
"example": {
"domain": "github.com",
"port": 443,
"valid": true,
"subject": "CN=github.com",
"subject_alt_names": [
"github.com",
"www.github.com"
],
"issuer": "DigiCert Inc",
"valid_from": "2024-03-07T00:00:00.000Z",
"valid_to": "2025-03-07T23:59:59.000Z",
"days_remaining": 156,
"serial_number": "0a:bc:12:...",
"fingerprint_sha256": "AB:CD:EF:...",
"protocol": "TLSv1.3"
}
}