Skip to main content

get_renewal_info

Function get_renewal_info 

Source
pub async fn get_renewal_info(
    __arg0: Path<String>,
    __arg1: State<Arc<AppState>>,
) -> Result<Response, KipukaError>
Expand description

GET /.well-known/est/renewal-info/{cert_id}

Returns a JSON object with a suggested renewal window for the identified certificate.

§Response

HeaderValue
Status200 OK
Content-Typeapplication/json
Retry-Afterconfigurable seconds
{
  "suggestedWindow": {
    "start": "2026-07-20T00:00:00Z",
    "end": "2026-07-24T00:00:00Z"
  }
}

§Errors

  • 400 Bad Request — malformed cert_id
  • 404 Not Found — certificate not found or AKI mismatch