【发布时间】: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