Skip to content

Commit d303b8f

Browse files
committed
remove redundant setting of Issuer in generateCert
1 parent 0b28f28 commit d303b8f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mtls.go

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ func generateCert() (cert []byte, privateKey []byte, err error) {
2929
host := "localhost"
3030

3131
template := &x509.Certificate{
32-
Issuer: pkix.Name{
33-
CommonName: host,
34-
Organization: []string{"HashiCorp"},
35-
},
3632
Subject: pkix.Name{
3733
CommonName: host,
3834
Organization: []string{"HashiCorp"},

0 commit comments

Comments
 (0)