tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yavuz Kavus" <>
Subject cant make tomcat accept https
Date Tue, 06 Nov 2007 08:57:24 GMT
hi, everbody.

i am working newspaper daily view project.
we will make our costumers member of site.
so we want to take their information with https protocol.

i have been trying to make tomcat accept https request on 8443,
but i have failed so far.

step by step what i do are:
1 )
C:\Documents and Settings\Yavuz>keytool -genkey -alias tomcat -keyalg RSA
Enter keystore password:  changeit
What is your first and last name?
  [Unknown]:  yavuz
What is the name of your organizational unit?
  [Unknown]:  kavus
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
Is CN=localhost, OU=localdomain, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
  [no]:  yes

Enter key password for <tomcat>
        (RETURN if same as keystore password):

C:\Documents and Settings\Yavuz>

2) and i uncommented the part related to https as:
    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="true" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />

3) restarted tomcat and tried https://localhost:8443/   i got  :
The connection was interrupted
The connection to localhost:8443 was interrupted while the page was loading.

when i try http://localhost:8443/ (http instead of https), everything is ok.

i wonder where i made mistake(s).
can any body see where is my mistake(s)?

thanks for any help.

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