According to https://www.howsmyssl.com/s/api.html my Go 1.7.4 HTTPS client does not support ticket-based TLS resumption.
How do I fix that? Here is how I create the transport: func NewTransport(caCert []byte, disableCompression, skipCertCheck bool) *http.Transport { caCertPool := x509.NewCertPool() caCertPool.AppendCertsFromPEM(caCert) tlsConfig := &tls.Config{ RootCAs: caCertPool, InsecureSkipVerify: skipCertCheck, Time: app.Utctime, } tlsConfig.BuildNameToCertificate() return &http.Transport{ Dial: (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 0, }).Dial, TLSClientConfig: tlsConfig, TLSHandshakeTimeout: 15 * time.Second, DisableCompression: disableCompression, DisableKeepAlives: false, IdleConnTimeout: 2 * time.Minute, } } How's My SSL API response: { "given_cipher_suites": [ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_RSA_WITH_AES_128_CBC_SHA", "TLS_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", "TLS_RSA_WITH_3DES_EDE_CBC_SHA" ], "ephemeral_keys_supported": true, * "session_ticket_supported": false,* "tls_compression_supported": false, "unknown_cipher_suite_supported": false, "beast_vuln": false, "able_to_detect_n_minus_one_splitting": false, "insecure_cipher_suites": {}, "tls_version": "TLS 1.2", "rating": "Improvable" } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.