← Back to Home

Certificate Inspector

/cert/:domain
Test HTTPS connectivity and view connection headers. Note: Cloudflare Workers cannot access actual TLS/SSL certificate details due to operating at the HTTP layer after TLS termination. Use openssl, browser DevTools, or SSL Labs for full certificate inspection.
▼ Try it now

Parameters

domain path
Domain name to test (excluding tcpdata.com to avoid loops)

Examples

curl
# Test HTTPS connection to google.com
curl https://tcpdata.com/cert/google.com

# For actual certificate inspection, use openssl:
openssl s_client -connect google.com:443 -servername google.com < /dev/null 2>/dev/null | openssl x509 -text
JavaScript (fetch)
const domain = 'google.com';
const response = await fetch(`https://tcpdata.com/cert/${domain}`);
const info = await response.json();
console.log('Connection status:', info.status);
console.log('Recommendations:', info.recommendations);
Python (requests)
import requests

domain = 'google.com'
response = requests.get(f'https://tcpdata.com/cert/{domain}')
data = response.json()
print('Limitation:', data.get('limitation'))
print('Recommendations:', data.get('recommendations'))