Skip to content

ACM requires a positive serial - #9

Merged
UserNotFound merged 2 commits into
masterfrom
acm-compat-serial
Jul 15, 2026
Merged

ACM requires a positive serial#9
UserNotFound merged 2 commits into
masterfrom
acm-compat-serial

Conversation

@UserNotFound

Copy link
Copy Markdown
Member

Our integration tests use this gem for generating self signed certificates, but the tests don't specify a serial on generation so they were defaulting to 0.

We started integration testing ACM intead of IAM for certs, and ACM rejects these certificates:

The serial number in the certificate is not supported by ACM.

0 is invalid per https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.2

4.1.2.2. Serial Number

The serial number MUST be a positive integer assigned by the CA to
each certificate. It MUST be unique for each certificate issued by a
given CA (i.e., the issuer name and serial number identify a unique
certificate). CAs MUST force the serialNumber to be a non-negative
integer.

@UserNotFound
UserNotFound requested a review from almathew July 15, 2026 19:01
@UserNotFound
UserNotFound merged commit f1a9d2c into master Jul 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants