Add tls1.2 ciphers.

This commit is contained in:
Kalle Carlbark 2021-11-26 13:39:29 +01:00
parent eb8f761cbc
commit e23a54368e
No known key found for this signature in database

View file

@ -129,6 +129,7 @@ func NewClient(apiurl string, httpClient *http.Client) (*Client, error) {
CipherSuites: []uint16{
tls.TLS_AES_128_GCM_SHA256,
tls.TLS_AES_256_GCM_SHA384,
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
tls.TLS_CHACHA20_POLY1305_SHA256,
},
MinVersion: tls.VersionTLS12,