Skip to content

Commit

Permalink
remove redundant setting of Issuer in generateCert
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Apr 28, 2022
1 parent 0b28f28 commit d303b8f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mtls.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ func generateCert() (cert []byte, privateKey []byte, err error) {
host := "localhost"

template := &x509.Certificate{
Issuer: pkix.Name{
CommonName: host,
Organization: []string{"HashiCorp"},
},
Subject: pkix.Name{
CommonName: host,
Organization: []string{"HashiCorp"},
Expand Down

0 comments on commit d303b8f

Please sign in to comment.