/ssl SSL Certificate & CSR Decoder

Paste a PEM certificate or CSR and get the human-readable fields back — subject, issuer, SANs, key type and validity window. curlhub parses what you send; it never dials the host.

POST HTTPS only no signupnothing stored
curl --data-binary @cert.pem https://curlhub.sh/ssl

Usage

With curl

curl --data-binary @cert.pem https://curlhub.sh/ssl
echo | openssl s_client -connect example.com:443 2>/dev/null | curl --data-binary @- https://curlhub.sh/ssl

With the CLI

cat cert.pem | curlhub ssl
curlhub ssl < request.csr

Structured output for scripts

curl -s --data-binary @cert.pem https://curlhub.sh/ssl -H 'Accept: application/json'

Output

Parameters

InputWhat it does
--data-binary @fileDecode a PEM certificate or CSR file.
--data-binary @-Pipe a PEM block in from stdin (e.g. from openssl s_client).
Accept: application/jsonReturn the parsed fields as JSON.

Recipes

Check expiry of a live host

echo | openssl s_client -connect example.com:443 2>/dev/null | curl --data-binary @- https://curlhub.sh/ssl | grep Until

openssl fetches the cert; curlhub reads it. curlhub itself never connects outbound.

Sanity-check a CSR before submitting

cat request.csr | curlhub ssl