【问题标题】:I want to enable SSL/HTTPS for icCube 6.8.5 Server我想为 icCube 6.8.5 服务器启用 SSL/HTTPS
【发布时间】:2019-01-17 12:52:23
【问题描述】:

我需要为 icCube 6.8.5 服务器启用 SSL/HTTPS。一直在关注以下链接。所以,到目前为止,我可以使用 http 启动。但是在 icCube.xml 中传递 sslPortNumber 后,它没有启用 HTTPS 协议。现在它变得非常忙碌。 有人可以帮我完成启用 https 所需的步骤吗?

请注意,我尝试点击链接。例如,我使用该链接创建了一个自签名证书,但没有找到任何关于如何或在何处使用此证书的选项。

https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html

    <!--
                -1 means the SSL (i.e., HTTPS) connector is not activated.
            -->
            <sslPortNumber>-1</sslPortNumber>

            <!--
                Consistent with Jetty 9.x configuration :

                        http://www.eclipse.org/jetty/documentation/current/configuring-ssl.html

                An optional path to the key store when using the SSL connector.

                (not relevant if SSL port number = -1)
            -->
            <sslKeyStorePath/>

            <!--
                See Jetty documentation to generate an OBF: value

                    java -cp jetty-util-9.0.6.v20130930.jar org.eclipse.jetty.util.security.Password your-password
                    java -cp jetty-util-9.0.6.v20130930.jar org.eclipse.jetty.util.security.Password OBF:your-obfuscated-password

                If not specified, the value will be prompted on the console.

                (not relevant if SSL port number = -1)
            -->
            <sslKeyStorePassword/>

            <!--
                Defaulted to JKS (others JCEKS, PKCS12, ...).

                (not relevant if SSL port number = -1)
            -->
            <sslKeyStoreType/>

【问题讨论】:

    标签: iccube


    【解决方案1】:

    它没有启用 HTTPS 协议。

    日志中有错误吗?

    ...使用链接的自签名证书,但没有找到任何选项来说明如何或在何处使用此证书。

    应该在密钥库中,由 sslKeyStorePath 引用。

    【讨论】:

    • 感谢@marcPolizzi 对此进行调查。如何在 icCube.xml 中定义 sslKeystorePath ?我的意思是是否有任何适当的语法来定义 xml 文件中的路径这是我在触发 https url 时遇到的错误
    • load-schema-on-startup] [DEBUG] (18-01-19 11:42:18.448 IST) [R] GWT 6 request-process-started [session:80736568-0c77-48f9 -bbf7-35920758b761] LOAD (schema:none) GwtLoadSchemaQuery cl_GWT_GwtLoadSchemaQuery_1547791938448_331313246 [ pool-2-thread-1] [ERROR] (18-01-19 11:42:18.557 IST) 意外错误 org.apache.http.conn.HttpHostConnectException:连接到 license1.icCube.com:80 [license1.icCube.com/178.79.157.7] 失败:连接被拒绝:连接 org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
    • 这是一个文件路径。此错误与配置 icCube 无关。直接联系他们的支持以获得更多帮助。
    猜你喜欢
    • 1970-01-01
    • 2011-01-18
    • 2016-06-06
    • 2019-06-21
    • 2010-09-30
    • 2015-04-10
    • 2016-10-30
    • 2011-08-19
    • 1970-01-01
    相关资源
    最近更新 更多