I created a java client communicating over https and used it with the same
URL it throws following exception:

javax.net.ssl.SSLException: Received fatal alert: handshake_failure (no
cipher suites in common)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.b([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
        at
com.sun.net.ssl.internal.ssl.AppOutputStream.write([DashoPro-V1.2-120198])
        at java.io.OutputStream.write(Unknown Source)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake([DashoPro-V1.2-120
198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([DashoPro-
V1.2-120198])

        at
com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([DashoP
ro-V1.2-120198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2-1201
98])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-V1.2
-120198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro-V1.
2-120198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120
198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120
198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([Dash
oPro-V1.2-120198])
        at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOutputStre
am([DashoPro-V1.2-120198])
        at TestMessage.main(TestMessage.java:116)

The tomcat consol still dumps
2001-02-24 04:48:53 - Ctx(  ): 400 R( /) null
2001-02-24 04:48:53 - Ctx(  ): IOException in: R( /) Socket closed

There has to be a common Cipher Suite since both the programs are running on
same machine and sharing same environment.

Any help appritiated

Mandar

> -----Original Message-----
> From: Mandar Joshi [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 24, 2001 6:27 PM
> To: [EMAIL PROTECTED]
> Subject: tomcat with SSL
>
>
> Hi,
>
> I am using tomcat V3.2. I am trying to configure SSL for stand alone
tomcat.
> I have following entry in the server.xml file
>         <Connector className="org.apache.tomcat.service.PoolTcpConnector">
>             <Parameter name="handler"
>
> value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
>             <Parameter name="port"
>                 value="8443"/>
>             <Parameter name="socketFactory"
>                 value="org.apache.tomcat.net.SSLSocketFactory" />
>             <Parameter name="keystore" value="tomCertStore" />
>             <Parameter name="keypass" value="mypass"/>
>      <Parameter name="clientAuth" value="false"/>
>         </Connector>
>
> When I start tomcat it shows me that it has started listening to port 8443
> however When I type https://myserv:8443/, it gives me 'The page cannot be
> displayed' error
>
> Tomcat consol dumps following lines
> 2001-02-24 04:18:13 - Ctx(  ): 400 R( /) null
> 2001-02-24 04:18:13 - Ctx(  ): IOException in: R( /) Socket closed
>
> Any ideas why is this happening ?
>
> Thanks in advance
> Mandar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to