[kaffe] How to use jsse with kaffe?

차준혁 jhcha at web.dwe.co.kr
Thu May 15 14:56:01 PDT 2003


Hello, How are you?

I'm trying to run jsse(1.0.3) with kaffe(1.1.x-cvs).
But I've got the only following error message whenever I run sample program
using socket connection.

----------------------------------------------------------------------------
--------------------------------------------------------------------
java.net.SocketException: SSL implementation not available
        at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
        at java.lang.Throwable.<init>(Throwable.java:38)
        at java.lang.Exception.<init>(Exception.java:24)
        at java.io.IOException.<init>(IOException.java:24)
        at java.net.SocketException.<init>(SocketException.java:21)
        at
javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA6275:line unknown,
pc 0x6)
        at SSLSocketClient.main(SSLSocketClient.java:31)
----------------------------------------------------------------------------
------

I have added the provider into "kaffe/jre/lib/security/java.security" like
this

security.provider.1=kaffe.security.provider.Kaffe
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=sun.security.provider.Sun

I've copied lib files, jnet.jar, jsse.jar and jcert.jar, to
"kaffe/jre/lib/ext/" and set CLASSPATH.



More information about the kaffe mailing list