Hi all,
 
            I am not sure if this is the right list to ask this
question. I am trying to use HTTPClient under WebSphere Studio
Application Developer for windows 4.0.3 build 020301. I try to run this
very basic code: =20
      SSLServerSocketFactory factory =3D
          (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
 
      SSLServerSocket sslSocket =3D
          (SSLServerSocket)factory.createServerSocket(5757);
 
      String [] cipherSuites =3D sslSocket.getEnabledCipherSuites();
 
      for (int i =3D 0; i < cipherSuites.length; i++) {
          System.out.println("Cipher Suite " + i +
            " =3D " + cipherSuites[i]);
      }
 
It compiles but instead of running I get this exception:
 
no SSL Server Sockets: java.net.SocketException: no SSL Server Sockets
at
javax.net.ssl.DefaultSSLServerSocketFactory.createServerSocket(Unknown
Source)
...
 
When I run it from the JDK 1.3 I downloaded from sun it works perfect. I
did the same JSSE configuration in both (placing the 3 jars under
lib/ext and registering the static references in the policy files under
security directory). Does any one know any special consideration I have
to know in order to make this work under WSAD 4.03? 
 
Claudio Santana.
 
 

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

Reply via email to