Inspect a host's TLS certificate
curl --request GET \
--url https://my.server.express/api/v1/public/sslconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/ssl', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/ssl"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"host": "<string>",
"port": 123,
"subject": "<string>",
"issuer": "<string>",
"altNames": [
"<string>"
],
"validFrom": "<string>",
"validTo": "<string>",
"daysRemaining": 123,
"expired": true,
"matchesHost": true,
"protocol": "<string>",
"cipher": "<string>",
"chain": [
"<string>"
],
"selfSigned": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Public Tools
Inspect a host's TLS certificate
Does a TLS handshake and reports on the certificate: issuer, names covered, expiry, whether it matches the host, and the chain. Deliberately talks to hosts with broken certificates — that’s when you need it. Names that resolve to private addresses are refused. On the Workers runtime the handshake goes through a relay, and 503 means that relay isn’t available. Limited to 20 requests per minute per IP.
GET
/
v1
/
public
/
ssl
Inspect a host's TLS certificate
curl --request GET \
--url https://my.server.express/api/v1/public/sslconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/ssl', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/ssl"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"host": "<string>",
"port": 123,
"subject": "<string>",
"issuer": "<string>",
"altNames": [
"<string>"
],
"validFrom": "<string>",
"validTo": "<string>",
"daysRemaining": 123,
"expired": true,
"matchesHost": true,
"protocol": "<string>",
"cipher": "<string>",
"chain": [
"<string>"
],
"selfSigned": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}