When we receive a request for a certificate for which the WFE no longer has the issuer configured in its certificate chains, and the requested certificate is expired, return just the bare cert rather than returning a 500 error. To enable this, refactor the chain-construction logic to occur inside a closure, so that both error-path and non-error-path early returns are possible. This also simplifies the chain construction logic to be more straight-line and readable, despite taking place inside a closure. Fixes #5345 |
||
|---|---|---|
| .. | ||
| test | ||
| README.md | ||
| stale.go | ||
| stale_test.go | ||
| stats.go | ||
| verify.go | ||
| verify_test.go | ||
| wfe.go | ||
| wfe_test.go | ||
README.md
WFE v2
The wfe2 package is copied from the wfe package in order to implement the
"ACME v2" API. This design choice
was made to facilitate a clean separation between v1 and v2 code and to support
running a separate API process on a different port alongside the v1 API process.