Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I wanted to redirect url from https://example.com to https://www.servercom:7777 and for this i modified the server.xml as below in tomcat config, and the below configuration doesnot seems to work. Does anyone has ideas. Please suggest.
The url alone https://www.servercom:7777/ already works. But just redirection from the old to one doesnot. Its centos linux system
$ /usr/bin/cat startapache.sh
#!/bin/bash
if [[ -f /usr/sbin/httpd.exe ]]
then
/cygdrive/c/WINDOWS/system32/sc.exe query mycygapachectl >/dev/null 2>&1
Ret=$?
if [ 0 -ne $Ret ]
then
echo "/usr/bin/cygrunsrv.exe -I mycygapachectl -p /usr/sbin/httpd.exe"
/usr/bin/cygrunsrv.exe -I mycygapachectl -p /usr/sbin/httpd.exe
fi
while [ 1 ]
do
/usr/bin/ps -eaf 2>&1 |\
/usr/bin/grep httpd 2>&1 |\
/usr/bin/grep -E -v "^$" >/dev/null 2>&1
Ret=$?
if [ 0 -ne $Ret ]
then
/cygdrive/c/WINDOWS/system32/sc.exe start mycygapachectl
else
break
fi
echo "/usr/bin/sleep 5"
/usr/bin/sleep 5
done
else
echo "Install httpd using cygwin setup-x86_64.exe"
fi
Before viewing my query I was having my personal website files at
C:\Users\MURUGE~1\DOCUME~1\MYWEBS~1\WebSite1
After viewing your query I have moved all files from above directory to:
/srv/www/htdocs
directory at windows
%cygwindir%\srv\www\htdocs
It is working fine for me
$ /usr/bin/cat startapache.sh
#!/bin/bash
if [[ -f /usr/sbin/httpd.exe ]]
then
/cygdrive/c/WINDOWS/system32/sc.exe query mycygapachectl >/dev/null 2>&1
Ret=$?
if [ 0 -ne $Ret ]
then
echo "/usr/bin/cygrunsrv.exe -I mycygapachectl -p /usr/sbin/httpd.exe"
/usr/bin/cygrunsrv.exe -I mycygapachectl -p /usr/sbin/httpd.exe
fi
while [ 1 ]
do
/usr/bin/ps -eaf 2>&1 |\
/usr/bin/grep httpd 2>&1 |\
/usr/bin/grep -E -v "^$" >/dev/null 2>&1
Ret=$?
if [ 0 -ne $Ret ]
then
/cygdrive/c/WINDOWS/system32/sc.exe start mycygapachectl
else
break
fi
echo "/usr/bin/sleep 5"
/usr/bin/sleep 5
done
else
echo "Install httpd using cygwin setup-x86_64.exe"
fi
Before viewing my query I was having my personal website files at
C:\Users\MURUGE~1\DOCUME~1\MYWEBS~1\WebSite1
After viewing your query I have moved all files from above directory to:
/srv/www/htdocs
directory at windows
%cygwindir%\srv\www\htdocs
It is working fine for me
I can understand this.
Since I do not have Linux, I was trying to reproduce the same at Windows 11
Today installed apache tomcat at windows 11
Command using cygwin (bash.exe)
Code:
$ grep 7777 ../conf/server.xml
Define a non-SSL/TLS HTTP/1.1 Connector on port 7777
<Connector port="7777" protocol="HTTP/1.1"
$ netstat -nato | grep -E "8005|8080|8443|8443|8009|7777"
$ . ./setclasspath.sh
$ echo $JAVA_HOME
/home/murugesandins/jira/jdk-11.0.9
$ /home/murugesandins/jira/jdk-11.0.9/bin/java.exe -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
$ ./startup.sh
exec ./catalina.sh start
Using CATALINA_BASE: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19
Using CATALINA_HOME: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19
Using CATALINA_TMPDIR: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\temp
Using JRE_HOME: C:\Users\murugesandins\cygwin\home\murugesandins\jira\jdk-11.0.9
Using CLASSPATH: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\bootstrap.jar;C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\tomcat-juli.jar
Using CATALINA_OPTS:
eval "/cygdrive/c/PROGRA~2/Jdk17/bin/java.exe" "-Djava.util.logging.config.file=C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19/conf/logging.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -classpath "C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\bootstrap.jar;C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\tomcat-juli.jar" -Dcatalina.base="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19" -Dcatalina.home="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19" -Djava.io.tmpdir="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\temp" org.apache.catalina.startup.Bootstrap start
Tomcat started.
$ ps -eaf | grep java
murugesa 2449 1 pty0 20:02:13 /cygdrive/c/Program Files (x86)/Jdk17/bin/java
$ tasklist | grep java
java.exe 9064 Services 0 105,352 K
http://127.0.0.1:7777/
at browser is working fine.
Hence you need to set related port number at server.xml file at your OS
Last edited by murugesandins; 04-23-2024 at 06:48 PM.
Reason: Removed quote
I can understand this.
Since I do not have Linux, I was trying to reproduce the same at Windows 11
Today installed apache tomcat at windows 11
Command using cygwin (bash.exe)
Code:
$ grep 7777 ../conf/server.xml
Define a non-SSL/TLS HTTP/1.1 Connector on port 7777
<Connector port="7777" protocol="HTTP/1.1"
$ netstat -nato | grep -E "8005|8080|8443|8443|8009|7777"
$ . ./setclasspath.sh
$ echo $JAVA_HOME
/home/murugesandins/jira/jdk-11.0.9
$ /home/murugesandins/jira/jdk-11.0.9/bin/java.exe -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)
$ ./startup.sh
exec ./catalina.sh start
Using CATALINA_BASE: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19
Using CATALINA_HOME: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19
Using CATALINA_TMPDIR: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\temp
Using JRE_HOME: C:\Users\murugesandins\cygwin\home\murugesandins\jira\jdk-11.0.9
Using CLASSPATH: C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\bootstrap.jar;C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\tomcat-juli.jar
Using CATALINA_OPTS:
eval "/cygdrive/c/PROGRA~2/Jdk17/bin/java.exe" "-Djava.util.logging.config.file=C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19/conf/logging.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -classpath "C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\bootstrap.jar;C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\bin\tomcat-juli.jar" -Dcatalina.base="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19" -Dcatalina.home="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19" -Djava.io.tmpdir="C:\Users\murugesandins\cygwin\home\murugesandins\apache-tomcat-11.0.0-M19\temp" org.apache.catalina.startup.Bootstrap start
Tomcat started.
$ ps -eaf | grep java
murugesa 2449 1 pty0 20:02:13 /cygdrive/c/Program Files (x86)/Jdk17/bin/java
$ tasklist | grep java
java.exe 9064 Services 0 105,352 K
http://127.0.0.1:7777/
at browser is working fine.
Hence you need to set related port number at server.xml file at your OS
Looks like i dont need to redirect I just wanted to use the other url to be working in the same way
1)
can you edit your comment and remove:
Thank you for removing invalid comments.
2)
Sample server.xml file I have tried(after download sample file from internet) at localhost
you can compare attached file with your file and view related requirements at your environment.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="9090" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!-- OpenSSL support using Tomcat Native -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<!-- OpenSSL support using FFM API from Java 22 -->
<!-- <Listener className="org.apache.catalina.core.OpenSSLLifecycleListener" /> -->
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>
-->
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
HTTP Connector: /docs/config/http.html
AJP Connector: /docs/config/ajp.html
Define a non-SSL/TLS HTTP/1.1 Connector on port 7777
-->
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/css/*</url-pattern>
</servlet-mapping>
<Connector port="7777" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="1234" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2
This connector uses the NIO implementation. The default
SSLImplementation will depend on the presence of the APR/native
library and the useOpenSSL attribute of the AprLifecycleListener.
Either JSSE or OpenSSL style configuration may be used regardless of
the SSLImplementation selected. JSSE style configuration is used below.
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector protocol="AJP/1.3"
address="::1"
port="8009"
redirectPort="8443" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- Use the LockOutRealm to prevent attempts to guess user passwords
via a brute-force attack -->
<Realm className="org.apache.catalina.realm.LockOutRealm">
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
Do you want me to use https instead of http at my localhost ?
That will take time.
if required, send me your server.xml and I will try the same at localhost (if required)
Last edited by murugesandins; 04-23-2024 at 05:15 AM.
Thank you very much for your fast response. Removed the quote you have asked for.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
<!-- APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" protocol="HTTP/1.1"
address="127.0.0.1"
connectionTimeout="20000"
maxParameterCount="1000" />
<Connector port="7777" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true"
scheme="https" secure="true" clientAuth="false"
sslProtocol="TLS" maxHttpHeaderSize="8192"
keystoreFile="/opt/home/myhome/keystoreFile"
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="grok" />
</Host>
<Host name="example.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="grok" />
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
</Server>
To be clear: localhost: www.server.com
alias name Or dns of localhost: example.com
Actually tomcat was configured https to use 7777
Hence you need 80 port as well at https Since default port without port number is 80)?
a) check 80 is not in use
I have stopped windows IIS before providing my first comment
validate using netstat
b) validate using
lsof Example at my cygwin:
Code:
$ lsof -i:22
sshd.exe 7048 Services 0 9380 K PORT: 22
sshd.exe 7048 Services 0 9380 K PORT: 22
$ type lsof
lsof is hashed (/home/murugesan_openssl/lsof)
$#mylsof using /cygdrive/c/Windows/System32/netstat.exe and tasklist.exe at windows. Use /sbin/lsof or /usr/sbin/lsof or related path.
$# validate the port numbers using lsof for following port numbers:
$# 7777 80
FEW MORE UPDATES:
$ lsof -i:80
java.exe 5716 Services 0 113932 K PORT: 7777 80 9090
java.exe 5716 Services 0 113932 K PORT: 7777 80 9090
I am having following lines at server.xml
Hence 80 being used by default http port which needs to be the default port.
My server.xml having opening and close tag for:
<Connector .../>
How about your .xml file ?
[/code]
I cannot copy your .xml file to my localhost:
Reason:
I need to re-create all pem/crt/jsk files a lot...
Last edited by murugesandins; 04-23-2024 at 05:45 AM.
01)
Remove all words having the letters orry at your comment.
02)
ttps://www.server.com:7777/example --> works https://example.com:7777 --> works
https://example.com--> doesnotwork
I need to know your comment:
Actually tomcat was configured https to use 7777
Hence you need 80 port as well at https Since default port without port number is 80)?
a) check 80 is not in use
I have stopped windows IIS before providing my first comment
validate using netstat
b) validate using
lsof Example at my cygwin:
Code:
$ lsof -i:22
sshd.exe 7048 Services 0 9380 K PORT: 22
sshd.exe 7048 Services 0 9380 K PORT: 22
$ type lsof
lsof is hashed (/home/murugesan_openssl/lsof)
$#mylsof using /cygdrive/c/Windows/System32/netstat.exe and tasklist.exe at windows. Use /sbin/lsof or /usr/sbin/lsof or related path.
$# validate the port numbers using lsof for following port numbers:
$# 7777 80
FEW MORE UPDATES:
$ lsof -i:80
java.exe 5716 Services 0 113932 K PORT: 7777 80 9090
java.exe 5716 Services 0 113932 K PORT: 7777 80 9090
I am having following lines at server.xml
Hence 80 being used by default http port which needs to be the default port.
My server.xml having opening and close tag for:
<Connector .../>
How about your .xml file ?
[/code]
I cannot copy your .xml file to my localhost:
Reason:
I need to re-create all pem/crt/jsk files a lot...
1) I hope, I removed all the comments.
Here we are using 8080 instead of 80 and I modfied 8443 for https
Code:
lsof -i:8443
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 53430 towl tmp IPv6 2904825571 0t0 TCP *:https (LISTEN)
lsof -i:8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 53430 towl tmp IPv6 2904825570 0t0 TCP *:cache (LISTEN)
Even I have opening and close tag for, please see the xml file
<Connector .../>
As of now I cannot help you since I am unable to reproduce the same at localhost.
01)
I tried copying your server.xml(after a backup of my server.xml)
unable to start tomcat here using your xml file (dependent on openssl/keytool)
02)
Here goes the way I am performing apache tomcat at windows:
a) download apache-tomcat-11.0.0-M19.zip
b) unzip and use the server.xml file I gave you without using any openssl.exe or and /cygdrive/c/PROGRA~2/Jdk17/bin/keytool at my system.
Hence I am able to access: http://127.0.0.1:7777/mis_interest_valid_Dates.html http://127.0.0.1:7777/ and all sub pages.
I made changes to perform:
.css file and .js file acesss using tomcat config files.
However I need to search or perform related(all) actions to change http to https here.
if you have related automated commands/$HISTFILE for openssl share the same here for me to reproduce at my system => Using that I can resolve your error.
Thank you very much for your time, I tried to change the configuration like you provided server.xml file and now I cannot reach any of the urls. From my point of view, 8443 and 443 are two different ports. As the certificate is already there for 8443 and its working fine. I would assume that we need new certificate for 443 and then configure in apache tomcat. Not sure if this is solution. Also my server is not listening on port 443, because of this also its not possible to redirect port from 443 to 8443
My time zone is CEST.
when i do wget, I have this
Code:
Proxy tunneling failed: Gateway TimeoutUnable to establish SSL connection
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.