Skip to content

Conversation

winlinvip
Copy link
Member

@winlinvip winlinvip commented Jun 10, 2025

According to RFC5280 4.1.2.2, The serial number MUST be a positive integer assigned by the CA to each certificate.

@winlinvip
Copy link
Member Author

Since Go1.23, Go DTLS server may fail the FFmpeg request, for it verify the serial number:

	if serial.Sign() == -1 {
		if x509negativeserial.Value() != "1" {
			return nil, errors.New("x509: negative serial number")

See golang/go@db13584

@winlinvip winlinvip force-pushed the bugfix/cert-serial-number branch 18 times, most recently from 3f81f6b to 1269248 Compare June 10, 2025 21:31
@winlinvip winlinvip force-pushed the workflows branch 4 times, most recently from 3294e09 to 4aa17ba Compare June 10, 2025 22:58
@winlinvip winlinvip force-pushed the bugfix/cert-serial-number branch 2 times, most recently from 4192d9a to ab60ac1 Compare June 10, 2025 23:02
winlinvip and others added 6 commits July 1, 2025 20:45
@ghost ghost force-pushed the workflows branch from a5e591f to 5a992b3 Compare July 1, 2025 12:45
@ghost ghost force-pushed the bugfix/cert-serial-number branch from ab60ac1 to 16b991e Compare July 1, 2025 15:16
See RFC5280 4.1.2.2

Signed-off-by: Jack Lau <[email protected]>
@ghost ghost force-pushed the bugfix/cert-serial-number branch from 16b991e to 88fd0e1 Compare July 1, 2025 15:23
@JackLau1222 JackLau1222 force-pushed the workflows branch 2 times, most recently from 1c20a98 to 487998b Compare July 22, 2025 06:19
@JackLau1222 JackLau1222 force-pushed the workflows branch 2 times, most recently from 2c40a5c to 80db6eb Compare August 6, 2025 11:35
@JackLau1222
Copy link
Collaborator

This patch has been merged

@JackLau1222 JackLau1222 closed this Sep 8, 2025
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