Skip to content

Commit 2baad8c

Browse files
committed
Add go:debug x509negativeserial=1 flag to run.go
Adds //go:debug x509negativeserial=1 to run.go, to revert to pre go-1.23 behavior of accepting x509 certificates with negative serial numbers. Rationale: many database container images have self-signed security certificates that are mal-formed and have negative serial numbers.
1 parent 750bda1 commit 2baad8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

run.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:debug x509negativeserial=1
12
package main
23

34
import (

0 commit comments

Comments
 (0)