feat: add ca endpoints
Squashed commit of the following: * doc: add documentation for ca endpoint Signed-off-by: Florian Bauer <florian@fsrv.xyz> * feat: add ca endpoints Signed-off-by: Florian Bauer <florian@fsrv.xyz> See merge request https://ref.ci/fsrvcorp/pki/ocspcrl/-/merge_requests/6
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
|
||||
OCSPCRL is a minimal implementation of both a OCSP and CRL server in Golang. It provides the following http endpoints:
|
||||
|
||||
- `/ocsp` - OCSP responder
|
||||
- `/crl` - CRL responder
|
||||
| Endpoint | Description |
|
||||
|------------|----------------------------------------------------------|
|
||||
| `/ocsp` | OCSP responder supporting both `GET` and `POST` requests |
|
||||
| `/crl` | CRL responder in DER format |
|
||||
| `/crl.pem` | CRL responder in PEM format |
|
||||
| `/ca` | Issuer CA certificate in DER format |
|
||||
| `/ca.pem` | Issuer CA certificate in PEM format |
|
||||
|
||||
All what you need is to provide a CRL file, the root certificate and cert/key with extendedKeyUsage `OCSPSigning` to allow the OCSP server to sign the OCSP responses.
|
||||
When using OCSP, the certificate is checked against the CRL for validity.
|
||||
|
||||
Reference in New Issue
Block a user