Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rest/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ func main() {
ClientCAs: prepareCACertificates(),
MinVersion: tls.VersionTLS12,
PreferServerCipherSuites: true,
// In FIPS mode (sonic_fips=1) the symcrypt OpenSSL provider does not
// implement AES-CTR, and the golang-fips backend panics instead of
// returning an error. crypto/tls uses AES-CTR only to encrypt session
// tickets, so disabling ticket based resumption keeps the whole TLS
// path within the algorithms symcrypt provides.
SessionTicketsDisabled: true,
}

// Prepare HTTPS server
Expand Down
Loading