You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Tezarin <te...@yahoo.com.INVALID> on 2021/04/16 16:39:44 UTC
Running guacamole on port 8080
Hi all,
I am running guacamole in a docker container. How can I disable HTTPS on tomcat and have guacamole run on port 8080 instead of 8443? Here is what my server.xml looks like (below). Thank you
<!--
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation that requires the JSSE
style configuration. When using the APR/native implementation, the
OpenSSL style configuration is required as described in the APR/native
documentation -->
<!--
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<Connector port="8443" protocol="HTTP/1.1"
SSLEnabled="true" maxThreads="150" scheme="https" secure="true"
keystoreFile="tomcat.keystore" keystorePass="changeit" sslEnabledProtocols="TLSv1.1,TLSv1.2"
ciphers="TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256"/>
Re: Running guacamole on port 8080
Posted by Nick Couchman <vn...@apache.org>.
On Fri, Apr 16, 2021 at 12:39 PM Tezarin <te...@yahoo.com.invalid> wrote:
> Hi all,
> I am running guacamole in a docker container. How can I disable HTTPS on
> tomcat and have guacamole run on port 8080 instead of 8443? Here is what my
> server.xml looks like (below). Thank you
>
I'm not sure which Docker image you're using, as I do not believe the one
we provide as an official project image uses SSL/TLS by default.
Essentially you need to un-comment the first connector block in the
server.xml file and comment out the last one. Should look like below when
done:
> <Connector port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
> <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
> This connector uses the NIO implementation that requires the JSSE
> style configuration. When using the APR/native implementation, the
> OpenSSL style configuration is required as described in the APR/native
> documentation -->
> <!--
> <Connector port="8443"
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
> <Connector port="8443" protocol="HTTP/1.1"
> SSLEnabled="true" maxThreads="150" scheme="https" secure="true"
> keystoreFile="tomcat.keystore" keystorePass="changeit"
> sslEnabledProtocols="TLSv1.1,TLSv1.2"
>
> ciphers="TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256"/>
-->
-NIck
>