Las últimas Chrome/IE9/Firefox funcionan bien. IE8 se queja de que la página no se puede mostrar y parece que la conexión se ha cancelado. Aquí va el código de prueba rápida.¿Golang TLS es compatible con IE8?
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")
}
Tenga en cuenta que "cert.pem" y "key.pem" son generados por "cripto/TLS/generate_cert.go". Probé un certificado real, y tampoco funcionó.
Acabo de darme cuenta de que el iPad tiene el mismo problema. – albert
sería bueno y más claro si hiciera una respuesta adecuada (detallada si es posible) y la acepte. –