# 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
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);
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'))