Controlling TLS Algorithms

Is there a way to control which algorithms are used for TLS connections?

I’m using Docker which is written in go, and I’m interested in disabling certain algorithms for TLS. I know in some programming language, command line defines can be set that control run-time behavior.

Is there any corresponding way to control run-time options relating to TLS in programs written in Go?

Thanks.

George

2 Likes

Set chipper suites on the tls config.

tls.Listen("tcp", addr, &tls.Config{
    Certificates: []tls.Certificate{cert},
    CipherSuites: []uint16{
        tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
    },
    PreferServerCipherSuites: true,
})
2 Likes

So this is proposed code to control the TLS configuration?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.