Vanessa Campos wrote:
> Hi, everybody!
>
> I need to put SSL to work. My environment:
>
> Win2003 Server
> TomCat 5.1.15
> Apache 2.0.55
> mod_jk
>
> My server.xml contains this:
>
>     <Connector port="8080" maxHttpHeaderSize="8192"
>                maxThreads="150" minSpareThreads="5"
> maxSpareThreads="75"
>                enableLookups="false" redirectPort="443"
> acceptCount="100"
>                connectionTimeout="20000" disableUploadTimeout="true"
> />
>
>     <Conector port="443" maxHttpHeaderSize="8192"
>               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>               enableLookups="false" disableUploadTimeout="true"
>               acceptCount="100" scheme="https" secure="true"
>               clientAuth="false" sslProtocol="TLS"
> keystoreFile="d:/inetpub/www/.keystore"/>
>
>    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>     <Connector port="8009"
>                enableLookups="false" redirectPort="443"
> protocol="AJP/1.3" />
>
> I copied this configuration from my test enviroment (where it is
> working), but when I try to access https://localhost:443, it says
> "The page cannot be displayed".
> I've installed jsse and set JSSE_HOME.
> When I checked catalina.log, I noticed this:
>
> Mar 16, 2006 7:13:17 AM org.apache.coyote.http11.Http11AprProtocol
> start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 16, 2006 7:13:17 AM org.apache.coyote.ajp.AjpAprProtocol start
> INFO: Starting Coyote AJP/1.3 on ajp-8009
>
> But there is no line concerning http-443.
>
> What can be wrong?

You're using APR but have configured the Connector the non-APR way:
http://tomcat.apache.org/tomcat-5.5-doc/apr.html

So, you can either
- disable APR by renaming tcnative-1.dll in Tomcat's bin directory (or moving 
it out of the way entierely) or
- configure the connector the APR way (see the link above).

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to