You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Teh, Bortie" <bt...@SFCCMO.EDU> on 2005/11/11 22:04:18 UTC
SSL Setup
I've been trying to setup SSL for tomcat, I have created the keystore, generated a csr, ordered a certificate, imported the certificate, and configured the server to respond on port 8443. My problem is that I can not get any pages to load when I use https://localhost:8443, but it works when I drop the 's'. I'm a novice with tomcat so any help will be appreciated. I've read the manuals over and over and all the configs look alright.
Here is my server.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Server>
<Listener className="org.apache.catalina.core.AprLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
<GlobalNamingResources>
<Environment
name="simpleValue"
type="java.lang.Integer"
value="30"/>
<Resource
auth="Container"
description="User database that can be updated and saved"
name="UserDatabase"
type="org.apache.catalina.UserDatabase"
pathname="conf/tomcat-users.xml"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"/>
</GlobalNamingResources>
<Service
name="Catalina">
<Connector
port="8080"
redirectPort="8443"
minSpareThreads="25"
connectionTimeout="20000"
maxSpareThreads="75"
maxThreads="150"
maxHttpHeaderSize="8192">
</Connector>
<Connector
port="8009"
redirectPort="8443"
connectionTimeout="0"
protocol="AJP/1.3">
</Connector>
<Connector
URIEncoding="null"
port="8443"
scheme="https"
secure="true"
keystoreFile="ssl/.keystore"
keystorePass="*****"
sslProtocol="TLS"
maxSpareThreads="75"
debug="0"
maxThreads="150"
uRIEncoding="null"
minProcessors="5"
maxProcessors="75"
minSpareThreads="25"
clientAuth="false"
maxHttpHeaderSize="8192">
</Connector>
<Engine
defaultHost="localhost"
name="Catalina">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
<Host
appBase="webapps"
name="localhost">
</Host>
</Engine>
</Service>
</Server>
________________________________________
CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: SSL Setup
Posted by Rick van der Zwet <ri...@wzoeterwoude.net>.
Teh, Bortie schreef:
>I've been trying to setup SSL for tomcat, I have created the keystore, generated a csr, ordered a certificate, imported the certificate, and configured the server to respond on port 8443. My problem is that I can not get any pages to load when I use https://localhost:8443, but it works when I drop the 's'. I'm a novice with tomcat so any help will be appreciated. I've read the manuals over and over and all the configs look alright.
>
>
Check http://issues.apache.org/bugzilla/show_bug.cgi?id=37455 if you are
using Tomcat 5.5.12
Same problem applied to me, but still I did not find the right syntax to
fix 'the bug'.
Cheerz,
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org