tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clifford Bryant" <CBry...@edgewater.com>
Subject RE: Setting Up SSL on Tomcat
Date Fri, 21 Sep 2007 12:32:48 GMT
Problem solved.  The 8443 port needed to be opened in the firewall.

-----Original Message-----
From: Clifford Bryant [mailto:CBryant@edgewater.com] 
Sent: Friday, September 21, 2007 8:23 AM
To: Tomcat Users List
Subject: RE: Setting Up SSL on Tomcat

Here is the HTTPS Connector.

    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="/home/tomcat/.keystore"
               keyAlias="tomcat" />

-----Original Message-----
From: Clifford Bryant [mailto:CBryant@edgewater.com] 
Sent: Friday, September 21, 2007 7:19 AM
To: Tomcat Users List
Subject: RE: Setting Up SSL on Tomcat

Here is a simpler version with just the 2 apps that I am interested in
deployed.

Created MBeanServer with ID:
1f436f5:11527c58a90:-8000:rsdev01.edgewater.com:1
Sep 21, 2007 7:13:21 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
/usr/java/j2sdk1.4.2_15/jre/lib/i386/client:/usr/java/j2sdk1.4.2_15/jre/
lib/i386:/usr/java/j2sdk1.4.2_15/jre/../lib/i386
Sep 21, 2007 7:13:21 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 21, 2007 7:13:22 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Sep 21, 2007 7:13:22 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3875 ms
Sep 21, 2007 7:13:23 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 21, 2007 7:13:23 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Sep 21, 2007 7:13:23 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 21, 2007 7:13:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas.war
2007-09-21 07:13:27,610 INFO
[org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - <No
UniqueTicketIdGenerator specified for
org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler.  Using
org.jasig.cas.util.DefaultUniqueTicketIdGenerator>
2007-09-21 07:13:29,888 INFO
[org.jasig.cas.web.ServiceValidateController] - <No successView
specified.  Using default of casServiceSuccessView>
2007-09-21 07:13:29,891 INFO
[org.jasig.cas.web.ServiceValidateController] - <No failureView
specified.  Using default of casServiceFailureView>
2007-09-21 07:13:29,925 INFO
[org.jasig.cas.web.ServiceValidateController] - <No authentication
specification class set.  Defaulting to
org.jasig.cas.validation.Cas20ProtocolValidationSpecification>
2007-09-21 07:13:29,925 INFO
[org.jasig.cas.web.ServiceValidateController] - <No successView
specified.  Using default of casServiceSuccessView>
2007-09-21 07:13:29,926 INFO
[org.jasig.cas.web.ServiceValidateController] - <No failureView
specified.  Using default of casServiceFailureView>
2007-09-21 07:13:30,166 INFO
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass
not set.  Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
Sep 21, 2007 7:13:30 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive examples.war
Sep 21, 2007 7:13:32 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 21, 2007 7:13:32 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8443
Sep 21, 2007 7:13:33 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 21, 2007 7:13:33 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/211  config=null
Sep 21, 2007 7:13:33 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Sep 21, 2007 7:13:33 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10820 ms
2007-09-21 07:13:55,762 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Starting cleaning of expired tickets from ticket registry at [Fri Sep
21 07:13:55 EDT 2007]>
2007-09-21 07:13:55,765 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<0 found to be removed.  Removing now.>
2007-09-21 07:13:55,765 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Finished cleaning of expired tickets from ticket registry at [Fri Sep
21 07:13:55 EDT 2007]>
[tomcat@rsdev01 logs]$

-----Original Message-----
From: Clifford Bryant [mailto:CBryant@edgewater.com] 
Sent: Friday, September 21, 2007 6:59 AM
To: Tomcat Users List
Subject: RE: Setting Up SSL on Tomcat

Created MBeanServer with ID:
1f436f5:11527b2e181:-8000:rsdev01.edgewater.com:1
Sep 21, 2007 6:52:58 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
/usr/java/j2sdk1.4.2_15/jre/lib/i386/client:/usr/java/j2sdk1.4.2_15/jre/
lib/i386:/usr/java/j2sdk1.4.2_15/jre/../lib/i386
Sep 21, 2007 6:52:58 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 21, 2007 6:53:00 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Sep 21, 2007 6:53:00 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4057 ms
Sep 21, 2007 6:53:00 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 21, 2007 6:53:00 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Sep 21, 2007 6:53:00 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Sep 21, 2007 6:53:02 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive cas.war
2007-09-21 06:53:05,656 INFO
[org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - <No
UniqueTicketIdGenerator specified for
org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler.  Using
org.jasig.cas.util.DefaultUniqueTicketIdGenerator>
2007-09-21 06:53:08,095 INFO
[org.jasig.cas.web.ServiceValidateController] - <No successView
specified.  Using default of casServiceSuccessView>
2007-09-21 06:53:08,098 INFO
[org.jasig.cas.web.ServiceValidateController] - <No failureView
specified.  Using default of casServiceFailureView>
2007-09-21 06:53:08,145 INFO
[org.jasig.cas.web.ServiceValidateController] - <No authentication
specification class set.  Defaulting to
org.jasig.cas.validation.Cas20ProtocolValidationSpecification>
2007-09-21 06:53:08,145 INFO
[org.jasig.cas.web.ServiceValidateController] - <No successView
specified.  Using default of casServiceSuccessView>
2007-09-21 06:53:08,145 INFO
[org.jasig.cas.web.ServiceValidateController] - <No failureView
specified.  Using default of casServiceFailureView>
2007-09-21 06:53:08,321 INFO
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass
not set.  Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
Sep 21, 2007 6:53:08 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive examples.war
Sep 21, 2007 6:53:10 AM org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
Sep 21, 2007 6:53:10 AM
org.springframework.context.support.AbstractApplicationContext refresh
INFO: Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@1bdbfec
: display name [Root WebApplicationContext]; startup date [Fri Sep 21
06:53:10 EDT 2007]; root of context hierarchy
Sep 21, 2007 6:53:11 AM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource
[/WEB-INF/applicationContext-acegi-security.xml]
Sep 21, 2007 6:53:11 AM
org.springframework.context.support.AbstractApplicationContext refresh
INFO: Bean factory for application context
[org.springframework.web.context.support.XmlWebApplicationContext@1bdbfe
c]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@9cd
8db
Sep 21, 2007 6:53:12 AM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@9cd
8db: defining beans
[filterChainProxy,serviceProperties,casProcessingFilter,casProcessingFil
terEntryPoint,exceptionTranslationFilter,casProxyTicketValidator,casProx
yDecider,userDetailsService,casAuthoritiesPopulator,cacheManager,ticketC
acheBackend,statelessTicketCache,casAuthenticationProvider,authenticatio
nManager,loggerListener,basicProcessingFilter,basicProcessingFilterEntry
Point,anonymousProcessingFilter,anonymousAuthenticationProvider,httpSess
ionContextIntegrationFilter,logoutFilter,securityContextHolderAwareReque
stFilter,channelProcessingFilter,channelDecisionManager,secureChannelPro
cessor,insecureChannelProcessor,roleVoter,httpRequestAccessDecisionManag
er,filterInvocationInterceptor,switchUserProcessingFilter]; root of
factory hierarchy
Sep 21, 2007 6:53:12 AM
org.springframework.core.io.support.PropertiesLoaderSupport
loadProperties
INFO: Loading properties file from ServletContext resource
[/WEB-INF/users.properties]
Sep 21, 2007 6:53:12 AM org.acegisecurity.userdetails.memory.UserMap
addUser
INFO: Adding user [org.acegisecurity.userdetails.User@bc4300: Username:
marissa; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted
Authorities: ROLE_SUPERVISOR]
Sep 21, 2007 6:53:12 AM org.acegisecurity.userdetails.memory.UserMap
addUser
INFO: Adding user [org.acegisecurity.userdetails.User@35ca00: Username:
peter; Password: [PROTECTED]; Enabled: false; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted
Authorities: ROLE_USER]
Sep 21, 2007 6:53:12 AM org.acegisecurity.userdetails.memory.UserMap
addUser
INFO: Adding user [org.acegisecurity.userdetails.User@fe877a00:
Username: Admin100; Password: [PROTECTED]; Enabled: true;
AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked:
true; Granted Authorities: ROLE_SUPERVISOR]
Sep 21, 2007 6:53:12 AM org.acegisecurity.userdetails.memory.UserMap
addUser
INFO: Adding user [org.acegisecurity.userdetails.User@0: Username:
dianne; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted
Authorities: ROLE_USER]
Sep 21, 2007 6:53:12 AM org.acegisecurity.userdetails.memory.UserMap
addUser
INFO: Adding user [org.acegisecurity.userdetails.User@bc43000: Username:
scott; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true;
credentialsNonExpired: true; AccountNonLocked: true; Granted
Authorities: ROLE_USER]
Sep 21, 2007 6:53:13 AM
org.springframework.cache.ehcache.EhCacheManagerFactoryBean
afterPropertiesSet
INFO: Initializing EHCache CacheManager
Sep 21, 2007 6:53:14 AM
org.acegisecurity.securechannel.ChannelProcessingFilter
afterPropertiesSet
INFO: Validated configuration attributes
Sep 21, 2007 6:53:14 AM
org.acegisecurity.intercept.AbstractSecurityInterceptor
afterPropertiesSet
INFO: Validated configuration attributes
Sep 21, 2007 6:53:14 AM org.springframework.web.context.ContextLoader
initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 3678 ms
09/21 06:53:18 INFO License Service: Flex 1.5 CF Edition enabled
09/21 06:53:18 INFO Starting Flex 1.5 CF Edition
09/21 06:53:18 INFO Macromedia Flex Build: 87315.134646
09/21 06:53:21 Information [main] - Starting logging...
09/21 06:53:21 Information [main] - Starting crypto...
09/21 06:53:22 Information [main] - Starting license...
09/21 06:53:22 Information [main] - Starting License server ...
09/21 06:53:22 Information [main] - Starting scheduler...
09/21 06:53:22 Information [main] - Starting WatchService...
09/21 06:53:22 Information [main] - Starting debugging...
09/21 06:53:22 Information [main] - Starting sql...
2007-09-21 06:53:25,849 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Starting cleaning of expired tickets from ticket registry at [Fri Sep
21 06:53:25 EDT 2007]>
2007-09-21 06:53:25,849 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<0 found to be removed.  Removing now.>
2007-09-21 06:53:25,850 INFO
[org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] -
<Finished cleaning of expired tickets from ticket registry at [Fri Sep
21 06:53:25 EDT 2007]>
09/21 06:53:27 Information [main] - Pool Manager Started
09/21 06:53:28 Information [main] - Starting mail...
09/21 06:53:28 Information [main] - CORBA Configuration not enabled
09/21 06:53:28 Information [main] - Starting cron...
09/21 06:53:28 Information [main] - Starting registry...
09/21 06:53:28 Information [main] - Starting client...
09/21 06:53:28 Information [main] - The metrics service is disabled for
the J2EE edition
09/21 06:53:28 Information [main] - Starting xmlrpc...
09/21 06:53:29 Information [main] - Starting graphing...
09/21 06:53:29 Information [main] - Starting verity...
09/21 06:53:30 Information [main] - Starting archive...
09/21 06:53:30 Information [main] - Starting document...
09/21 06:53:30 Information [main] - Starting eventgateway...
09/21 06:53:30 Information [main] - Starting Event Backend Handlers
09/21 06:53:30 Information [main] - Initialized EventRequestDispatcher
with a Thread Pool size of 10
09/21 06:53:30 Information [main] - Initializing EventRequestHandler
09/21 06:53:30 Information [main] - Starting Event Gateways
09/21 06:53:30 Information [main] - ColdFusion started
Sep 21, 2007 6:53:33 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 21, 2007 6:53:34 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8443
Sep 21, 2007 6:53:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 21, 2007 6:53:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/158  config=null
Sep 21, 2007 6:53:34 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Sep 21, 2007 6:53:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 34805 ms

-----Original Message-----
From: Hassan Schroeder [mailto:hassan.schroeder@gmail.com] 
Sent: Thursday, September 20, 2007 11:36 PM
To: Tomcat Users List
Subject: Re: Setting Up SSL on Tomcat

On 9/20/07, Clifford Bryant <CBryant@edgewater.com> wrote:
> I am trying to set up Tomcat 5.5.23 on a Linux server to use SSL.  The
> SSL port (8443) is uncommented in the server.xml.  And, I set up a
> certificate.  I tried to navigate to the Tomcat startup page from
> another (Windows) machine.  I can get to the HTTP port (8080).  But, I
> get a "Server not found or DNS error" when I try to use the secure
port
> (8443).


And the startup log messages are _______________?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.  This communication may contain information that is protected
from disclosure by applicable law.  If you are not the intended
recipient, or the employee or agent responsible for delivering this
communication to the intended recipient, be advised that you have
received this e-mail in error and any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited.  If you
believe that you have received this e-mail in error, please immediately
notify Edgewater Technology by telephone at (781) 246-3343 and delete
the communication from all e-mail files.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.  This communication may contain information that is protected
from disclosure by applicable law.  If you are not the intended
recipient, or the employee or agent responsible for delivering this
communication to the intended recipient, be advised that you have
received this e-mail in error and any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited.  If you
believe that you have received this e-mail in error, please immediately
notify Edgewater Technology by telephone at (781) 246-3343 and delete
the communication from all e-mail files.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



This e-mail and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed.  This communication may contain information that is protected
from disclosure by applicable law.  If you are not the intended
recipient, or the employee or agent responsible for delivering this
communication to the intended recipient, be advised that you have
received this e-mail in error and any use, dissemination, forwarding,
printing or copying of this e-mail is strictly prohibited.  If you
believe that you have received this e-mail in error, please immediately
notify Edgewater Technology by telephone at (781) 246-3343 and delete
the communication from all e-mail files.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



This e-mail and any files transmitted with it are confidential and are intended solely for
the use of the individual or entity to whom they are addressed.  This communication may contain
information that is protected from disclosure by applicable law.  If you are not the intended
recipient, or the employee or agent responsible for delivering this communication to the intended
recipient, be advised that you have received this e-mail in error and any use, dissemination,
forwarding, printing or copying of this e-mail is strictly prohibited.  If you believe that
you have received this e-mail in error, please immediately notify Edgewater Technology by
telephone at (781) 246-3343 and delete the communication from all e-mail files.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message