Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

extend ssl enabled msg on status page - post the portnr

regere3d84599069f
diff --git a/htroot/Status.java b/htroot/Status.java
index e210cc382..68933ec9e 100644
--- a/htroot/Status.java
+++ b/htroot/Status.java
@@ -196,7 +196,8 @@ public class Status
// ssl support
prop.put("sslSupport", sb.getConfig("keyStore", "").isEmpty() || !sb.getConfigBool("server.https", false) ? 0 : 1);
-
+ if (sb.getConfigBool("server.https", false)) prop.put("sslSupport_sslPort", sb.getHttpServer().getSslPort());
+
if ( sb.getConfigBool("remoteProxyUse", false) ) {
prop.put("remoteProxy", "1");
prop.putXML("remoteProxy_host", sb.getConfig("remoteProxyHost", "<unknown>"));
diff --git a/htroot/Status_p.inc b/htroot/Status_p.inc
index 589b2a84e..affed50e4 100644
--- a/htroot/Status_p.inc
+++ b/htroot/Status_p.inc
@@ -29,7 +29,7 @@
</dd>
<dt>Address</dt>
- <dd>Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#<br />
+ <dd>Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled (port #[sslPort]#)#(/sslSupport)#<br />
#(peerAddress)#
peer address not assigned
::