tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jenkins <rak...@jenkinssoftware.com>
Subject Better SSL connector setup
Date Sun, 07 Apr 2013 02:10:21 GMT
I have a server that has two hosts:
First:
http://masterserver2.raknet.com/

Second (using alias)
https://lobby3.raknet.com <https://milestone.lobby3.raknet.com:444/>
https://milestone.lobby3.raknet.com:444/

I would like have access be on these specific URLS. Right now you can use
untrusted URLs, such as
https://masterserver2.raknet.com/
https://milestone.lobby3.raknet.com/

Additionally, I would like to access milestone.lobby3.raknet.com on port
443 rather than 444 (so that 443 does not display a warning like it does
now).

I setup two connectors because I did not know how else to specify there are
two ssl certificate files
<Connector port="443" protocol="org.apache.coyote.http11.Http11AprProtocol"
SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="SSLv3"

 SSLCertificateKeyFile="${catalina.base}\conf\lobby3\privatekey.txt"

 SSLCertificateFile="${catalina.base}\conf\lobby3\lobby3.raknet.com.txt"
/>

<Connector port="444" protocol="org.apache.coyote.http11.Http11AprProtocol"
SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="SSLv3"

 SSLCertificateKeyFile="${catalina.base}\conf\milestone_lobby3\privatekey.txt"

 SSLCertificateFile="${catalina.base}\conf\milestone_lobby3\milestone.lobby3.raknet.com.txt"
/>

This is my host setup:
<Host name="www.masterserver2.raknet.com" appBase="RakNet/masterserver2"
unpackWARs="true" autoDeploy="true">
<Alias>masterserver2.raknet.com</Alias>
<Alias>milestone.masterserver2.raknet.com</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
   prefix="masterserver2.raknet.com_access_log." suffix=".txt"
   pattern="%h %l %u %t &quot;%r&quot; %s %b" />
  </Host>
<Host name="www.lobby3.raknet.com" appBase="RakNet/lobby3"
unpackWARs="true" autoDeploy="true">
<Alias>lobby3.raknet.com</Alias>
<Alias>milestone.lobby3.raknet.com</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
   prefix="lobby3.raknet.com_access_log." suffix=".txt"
   pattern="%h %l %u %t &quot;%r&quot; %s %b" />
  </Host>

This is not a major issue, but just cleanup. Does anyone have suggestions?
Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message