去Revel SSL证书中级/链证书并转发到443

时间:2015-11-04 01:26:18

标签: ssl go https x509certificate revel

我使用Revel作为小应用程序并添加了SSL。当我将配置更新为指向http.port = 443时,对端口80的请求将被拒绝而不是被转发。有没有办法在Revel框架上解决这个问题? 此外,我收到错误"证书在所有Web浏览器中都不受信任。您可能需要安装中间/链证书才能将其链接到受信任的根证书。"有没有办法在Revel上安装中级/链证书?谢谢。

# The port on which to listen.
http.port = 443

# Whether to use SSL or not.
http.ssl = true

# Path to an X509 certificate file, if using SSL.
http.sslcert = /root/go/src/saml/AlphaCerts/cert.crt

# Path to an X509 certificate key, if using SSL.
http.sslkey = /root/go/src/saml/star_home_com.key

0 个答案:

没有答案