【发布时间】:2017-02-08 23:34:41
【问题描述】:
尝试设置 https,如下所述:https://github.com/astaxie/beego/issues/401 并在日志中得到了这个:
2016/09/28 14:05:34 [I] [asm_amd64.s:2086] https server Running on https://127.0.0.1:10443
2016/09/28 14:05:37 [server.go:2315] [HTTP] http: TLS handshake error from 127.0.0.1:65365: tls: first record does not look like a TLS handshake
我在 Windows 10 上运行它。有人让 Beego 使用 https 吗?我使用了自签名证书,它适用于通用 golang https 简单程序。
【问题讨论】: