martinisecurity / zlint

X.509 Certificate Linter focused on Web PKI standards and requirements.
https://zmap.io
Apache License 2.0
0 stars 0 forks source link

Enhance e_sti_crl_distribution lint #1

Closed mhardeman closed 2 years ago

mhardeman commented 2 years ago

We should use the new martini API endpoint for validating reachability/validty of a CRLdp.

// PathForSTIPAValidateCDP is the path to validate CDP URL
//
// Verbs: POST
// Request: v1.StipaSpcValidateCDPRequest
// Response: 204 StatusNoContent
PathForSTIPAValidateCDP = "/v1/stipa/validate_cdp"

It expects json object like {"crl":"crl_dp_url_goes_here"}