The following environment variables are required:
CA_CERT
RESPONDER_CERT
RESPONDER_KEY
PORT
DB
For testing an additional variable TEST_CLIENT_CERT
should point to a certificate signed by CA_CERT
with serial number 1.
- Method: POST
Responds to POST OSCP requests according to RFC 6960.
- Method: PUT
- Body: JSON
serial
: integerrevoked
: RFC 3339 string, with "0001-01-01T00:00:00Z" signifying null
Add a certificate to the OCSP database, overwriting a row with the same serial number if present.
- Method: PUT
- Body: JSON
- Array of objects with properties
serial
: integerrevoked
: RFC 3339 string, with "0001-01-01T00:00:00Z" signifying null
- Array of objects with properties
Wipe the OCSP database and initialize it with the given data.
- Method: GET
Responds with map of all OCSP database entries.