Does golang support TLS IE8?

Recent versions of Chrome / IE9 / Firefox work fine. IE8 complains that the page could not be displayed, and it seems that the connection is interrupted. Here is a quick test code.

package main

import (
    "time"
    "fmt"
    "net/http"
)

type Handler struct {
}

func (this *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    fmt.Fprintf(w, "Hello, %q", r.URL.Path)
}

func main() {
    handler := &Handler{}
    ss := &http.Server{
        Addr: ":443",
        Handler: handler,
        ReadTimeout: 10 * time.Second,
        WriteTimeout: 10 * time.Second,
        MaxHeaderBytes: 1 << 20,
    }
    ss.ListenAndServeTLS("cert.pem", "key.pem")
}

Note that "cert.pem" and "key.pem" are generated by "crypto / tls / generate_cert.go". I tried a real certificate and it didn't work either.

+5
source share
2 answers

walked away from the question as the OP did not give the correct answer

This problem can be solved with this patch: "0001-Allow-SSLv2-compatible-client-hello-so-SSLv2-compati.patch" released by http://code.google.com/p/go/issues/detail ? id = 3930 .

http://code.google.com/p/go/source/detail?r=8048fe8f6f4b, , .

0

TLS - , , "TLS IE8" - .

, , IE8 ( ) . , , SO.

, , IE8, ( , ), , , . . ( , ) .

+1

All Articles