ssl.enhost.uk
Check SSL certificate details, expiry, the negotiated protocol and the chain
This free SSL/TLS certificate checker reports the validity period, issuer, certificate chain and Subject Alternative Names, along with the TLS protocol and cipher suite the server actually negotiated — a current certificate on a server still offering TLS 1.0 is only half the story.
Everything is read from the target server at the moment you ask. Nothing is cached and no third party is involved, so a result reflects the server as it is right now.
Query SSL certificate via HTTP API:
https://ssl.enhost.uk/?domain=example.com
Custom port:
https://ssl.enhost.uk/?domain=example.com&port=8443
cURL example:
curl "https://ssl.enhost.uk/?domain=example.com"
Bash script example:
#!/bin/bash
DOMAIN="example.com"
curl -s "https://ssl.enhost.uk/?domain=$DOMAIN" | jq .
Python example:
import requests
domain = 'example.com'
response = requests.get(f'https://ssl.enhost.uk/?domain={domain}')
data = response.json()
print(f"Domain: {data['domain']}")
print(f"Valid until: {data['valid_to']}")
print(f"Days remaining: {data['days_remaining']}")
JavaScript example:
const domain = 'example.com';
fetch(`https://ssl.enhost.uk/?domain=${domain}`)
.then(res => res.json())
.then(data => {
console.log('Domain:', data.domain);
console.log('Valid until:', data.valid_to);
console.log('Days remaining:', data.days_remaining);
});