From e23a54368edea5c5d49d49b9f170073fdbc840c6 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Fri, 26 Nov 2021 13:39:29 +0100 Subject: [PATCH] Add tls1.2 ciphers. --- netbox.go | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox.go b/netbox.go index 813a3ba..f2ba069 100644 --- a/netbox.go +++ b/netbox.go @@ -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,