mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-13 08:13:09 +02:00
internal/httputil: prefer X25519 over P256
This commit is contained in:
parent
5b825dbffa
commit
a1419f67a5
2 changed files with 3 additions and 1 deletions
|
@ -178,8 +178,8 @@ func newDefaultTLSConfig(cert *tls.Certificate) *tls.Config {
|
|||
PreferServerCipherSuites: true,
|
||||
// Use curves which have assembly implementations
|
||||
CurvePreferences: []tls.CurveID{
|
||||
tls.CurveP256,
|
||||
tls.X25519,
|
||||
tls.CurveP256,
|
||||
},
|
||||
Certificates: []tls.Certificate{*cert},
|
||||
// HTTP/2 must be enabled manually when using http.Serve
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue