Replace Pebble with step-ca for local ACME
Pebble skipped real HTTP-01 validation, which hid integration gaps for compliance-page custom domains. step-ca with a Caddy port-80 proxy exercises the same path production uses while keeping issued certs persistent across compose restarts. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -274,8 +274,7 @@ func (s *ACMEService) issueOrderCertificate(
|
||||
// CreateOrderCert finalizes the order but may fail to download the
|
||||
// certificate when the CA marks the order valid before the certificate
|
||||
// URL is populated. Poll the order using the known order URL because
|
||||
// some CAs (including Pebble) omit the Location header on poll
|
||||
// responses, leaving order.URI empty.
|
||||
// some CAs omit the Location header on poll responses, leaving order.URI empty.
|
||||
return s.fetchOrderCertificateAfterFinalize(ctx, pollURL, err)
|
||||
default:
|
||||
return nil, fmt.Errorf("order is in unexpected status %q", order.Status)
|
||||
|
||||
Reference in New Issue
Block a user