Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bench: increase cert chain length #4287

Merged
merged 6 commits into from
Nov 16, 2023
Merged

Conversation

jmayclin
Copy link
Contributor

Description of changes:

Most public AWS services have cert chains with 3 certificates. A trusted root, an untrusted intermediate, and an untrusted server certificate. Our benchmarking setup should be adjusted to reflect this more common case.

This commit increases the cert chain length. In the process, it also removes the dependence on config files from the generate-certs.sh script. Finally it adds P-256 certs to the benchmarking harness.

Callouts:

My editor automatically removes trailing whitespace, so the diff is a little messy.

Testing:

The unit tests automatically cover all of the enum types, so the new certificates are covered under the existing unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Most commonly aws service retain a 3 certificate chain, with a leaf
cert, intermediate CA, and root CA. This commit updates our benchmarking
configuration to reflect that.
@github-actions github-actions bot added the s2n-core team label Nov 14, 2023
@jmayclin jmayclin marked this pull request as ready for review November 14, 2023 01:47
@jmayclin jmayclin enabled auto-merge (squash) November 14, 2023 01:48
@jmayclin jmayclin merged commit bb8cc5c into aws:main Nov 16, 2023
27 checks passed
@jmayclin jmayclin deleted the cert-chain-length branch June 15, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants