Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Add SAN to EDB root certificate
Browse files Browse the repository at this point in the history
Fixes integration test for Go 1.15+
  • Loading branch information
Nirusu authored and thomasten committed May 17, 2021
1 parent 35e7828 commit 1b5d086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edb/db/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func createCertificate(commonName string) ([]byte, crypto.PrivateKey) {
SerialNumber: &big.Int{},
Subject: pkix.Name{Organization: []string{"EDB root"}, CommonName: commonName},
NotAfter: time.Now().AddDate(10, 0, 0),
DNSNames: []string{commonName},
BasicConstraintsValid: true,
IsCA: true,
}
Expand Down

0 comments on commit 1b5d086

Please sign in to comment.