ssl-checker icon indicating copy to clipboard operation
ssl-checker copied to clipboard

ssl-checker.io API - add checks for self signed or other "problems"

Open sil-zh opened this issue 3 months ago • 1 comments

Hi,

First of all, i want to say thats a cool project. helps me to check some certificates i am not able to check behind our proxy.

The thing i miss about is, is checks if the certificate is trusted or not..

for exmaple: self-signed.badssl.com

curl https://ssl-checker.io/api/v1/check/self-signed.badssl.com | jq
{
  "version": "1.0",
  "app": "ssl-checker-api",
  "host": "self-signed.badssl.com",
  "response_time_sec": "0.37",
  "status": "ok",
  "result": {
    "host": "self-signed.badssl.com",
    "resolved_ip": "104.154.89.105",
    "issued_to": "*.badssl.com",
    "issued_o": "BadSSL",
    "issuer_c": "US",
    "issuer_o": "BadSSL",
    "issuer_ou": null,
    "issuer_cn": "*.badssl.com",
    "cert_sn": "16812677107465689796",
    "cert_sha1": "56:FA:DB:8A:A2:E9:27:3A:92:B7:4A:56:74:BF:27:00:12:CF:C6:A8",
    "cert_alg": "sha256WithRSAEncryption",
    "cert_ver": 2,
    "cert_sans": "DNS:*.badssl.com; DNS:badssl.com",
    "cert_exp": false,
    "cert_valid": true,
    "valid_from": "2025-09-23",
    "valid_till": "2027-09-23",
    "validity_days": 730,
    "days_left": 727,
    "valid_days_to_expire": 726,
    "hsts_header_enabled": false
  }
}

The result ist

  • Status: ok
  • cert_valid: true

so my question is: Are there plans to add information's about SSL Errors like "Self Signed Certificate", ERR_CERT_COMMON_NAME_INVALID, and so on. this would be really cool.

Hope someone can help with this :-)

thx and enjoy the weekend

sil-zh avatar Sep 26 '25 13:09 sil-zh