【问题标题】:Configuring SSL in jboss 7在 jboss 7 中配置 SSL
【发布时间】:2014-04-03 14:15:17
【问题描述】:

我正在尝试将我的 ruby​​ on rails 网络应用程序的网络界面从 http 切换到 https。我做了以下 1.在本地生成证书签名请求
2.获取keystore文件
3.从CA获得SSL证书
4.将此证书导入到步骤2中获得的keystore中。
5. 配置 Rails 以使用 SSL
6.在jboss中配置一个新的https连接器,方法如下

<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true"
    <ssl name="https" key-alias="myalias" password="foobar" certificate-key-   file="/tmp/keystore"/
</connector  
  1. 将 https 端口更改为 80 端口。

但是当我加载应用程序时,我无法查看 Web 应用程序。 注意:jboss 日志中没有错误

【问题讨论】:

    标签: ruby-on-rails ssl configuration https jboss


    【解决方案1】:

    您如何访问您的应用程序?我的意思是网址格式? 如果您有相同的 http 和 https 连接端口,将会发生冲突。 在standalone.xml 文件的部分中验证它。尝试将 https 端口更改为 8443 或 443,因为您可能已为 http 连接分配了端口 80。

    【讨论】:

      猜你喜欢
      • 2012-03-07
      • 1970-01-01
      • 2019-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-15
      • 1970-01-01
      • 2012-06-14
      相关资源
      最近更新 更多