/v1/decode
Decode a PEM X.509 certificate
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/certdecode-api/v1/decode" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/certdecode-api/v1/decode", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/certdecode-api/v1/decode");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/certdecode-api/v1/decode",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"key": {
"size": 2048,
"type": "rsa"
},
"is_ca": true,
"issuer": {
"C": "DE",
"O": "oanor",
"CN": "example.oanor.com"
},
"expired": false,
"subject": {
"C": "DE",
"O": "oanor",
"CN": "example.oanor.com"
},
"valid_to": "2027-06-02T13:20:45.000Z",
"issuer_raw": "C=DE, O=oanor, CN=example.oanor.com",
"valid_from": "2026-06-02T13:20:45.000Z",
"self_signed": true,
"subject_raw": "C=DE, O=oanor, CN=example.oanor.com",
"serial_number": "7BF622828F637B0510FCD032A14F829742C5C129",
"fingerprint_sha1": "9A:25:5F:E1:07:D1:1E:7E:81:F5:35:C0:A5:71:4A:93:85:CC:CA:02",
"subject_alt_name": "DNS:example.oanor.com, DNS:www.example.oanor.com",
"days_until_expiry": 365,
"fingerprint_sha256": "83:5B:D3:A4:17:81:DF:BD:86:7B:26:84:B2:E0:03:A0:FA:AC:AA:F5:89:EA:2A:53:E9:2A:39:4C:B3:B2:E9:6F"
},
"meta": {
"timestamp": "2026-06-02T16:51:52.020Z",
"request_id": "ad1196b6-61ce-4378-8dba-8ac6be85cf12"
},
"status": "ok",
"message": "Decode a PEM X.509 certificate",
"success": true
}