Go语言中文网 为您找到相关结果 2

golang里面自定义tls的ciphers

下面的内容是从stackoverflow上面抄过来的。https://stackoverflow.com/questions/31226131/how-to-set-tls-cipher-for-go-server You can see an example in secrpc/tls_server.go: tls.Listen("tcp", addr, &tls.Config{ Certificates: []tls.Certificate{cert}, CipherSuites: []uint16{ tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, }, Min...阅读全文

博文 2019-04-04 12:34:39 areece