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?
[Unknown]:
What is the name of your City or Locality?
[Unknown]:
What is the name of your State or Province?
[Unknown]:
What is the two-letter country code for this unit?
[Unknown]:
Is CN=localhost, OU=localdomain, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
cor
rect?
[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.
|