Skip to content

Commit

Permalink
fixes #4 changed the way the key is generated, so that it's compatibl…
Browse files Browse the repository at this point in the history
…e with chrome.
  • Loading branch information
paramaw committed Aug 17, 2021
1 parent 1627b3b commit deae3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func GenCert(names []string) (*tls.Certificate, error) {
}

func genKeyPair() (*ecdsa.PrivateKey, error) {
return ecdsa.GenerateKey(elliptic.P521(), rand.Reader)
return ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
}

func GenCA(name string) (certPEM, keyPEM []byte, err error) {
Expand Down

0 comments on commit deae3d7

Please sign in to comment.