boulder/test/cert-ceremonies
Phil Porada 72e01b337a
ceremony: Distinguish between intermediate and cross-sign ceremonies (#7005)
In `//cmd/ceremony`:
* Added `CertificateToCrossSignPath` to the `cross-certificate` ceremony
type. This new input field takes an existing certificate that will be
cross-signed and performs checks against the manually configured data in
each ceremony file.
* Added byte-for-byte subject/issuer comparison checks to root,
intermediate, and cross-certificate ceremonies to detect that signing is
happening as expected.
* Added Fermat factorization check from the `//goodkey` package to all
functions that generate new key material.

In `//linter`: 
* The Check function now exports linting certificate bytes. The idea is
that a linting certificate's `tbsCertificate` bytes can be compared
against the final certificate's `tbsCertificate` bytes as a verification
that `x509.CreateCertificate` was deterministic and produced identical
DER bytes after each signing operation.

Other notable changes:
* Re-orders the issuers list in each CA config to match staging and
production. There is an ordering issue mentioned by @aarongable two
years ago on IN-5913 that didn't make it's way back to this repository.
> Order here matters – the default chain we serve for each intermediate
should be the first listed chain containing that intermediate.
* Enables `ECDSAForAll` in `config-next` CA configs to match Staging.
* Generates 2x new ECDSA subordinate CAs cross-signed by an RSA root and
adds these chains to the WFE for clients to download.
* Increased the test.sh startup timeout to account for the extra
ceremony run time.


Fixes https://github.com/letsencrypt/boulder/issues/7003

---------

Co-authored-by: Aaron Gable <aaron@letsencrypt.org>
2023-08-23 14:01:19 -04:00
..
generate.go ceremony: Distinguish between intermediate and cross-sign ceremonies (#7005) 2023-08-23 14:01:19 -04:00
intermediate-ceremony-ecdsa.yaml Remove ability to configure policy OIDs (#6992) 2023-07-19 10:38:59 -04:00
intermediate-ceremony-rsa.yaml Remove ability to configure policy OIDs (#6992) 2023-07-19 10:38:59 -04:00
intermediate-cross-cert-ceremony.yaml ceremony: Distinguish between intermediate and cross-sign ceremonies (#7005) 2023-08-23 14:01:19 -04:00
intermediate-key-ceremony-ecdsa.yaml CA: Add GenerateCRL gRPC method (#6187) 2022-06-29 11:03:12 -07:00
intermediate-key-ceremony-rsa.yaml CA: Add GenerateCRL gRPC method (#6187) 2022-06-29 11:03:12 -07:00
root-ceremony-ecdsa.yaml Generate self-signed lint certs when linting roots (#6994) 2023-07-13 12:29:12 -07:00
root-ceremony-rsa.yaml Generate self-signed lint certs when linting roots (#6994) 2023-07-13 12:29:12 -07:00
root-crl-ecdsa.yaml Replace integration test root ocsp with crls (#6905) 2023-05-24 14:22:43 -07:00
root-crl-rsa.yaml Replace integration test root ocsp with crls (#6905) 2023-05-24 14:22:43 -07:00