I have been wanting JSS and a chance to work with it for quite some 
time.  Now I have both, but I can't seem to get past the first steps. 
The sample code I found on mozilla.org seems dated.  I had to make some 
modifications to get the SSLClient.java to compile.  When I try to run 
it, I get a message telling me:

java.net.SocketException: Failed to enable cipher 0xff05
: (-12266) An unknown SSL cipher suite has been requested.
         at org.mozilla.jss.ssl.SSLSocket.setCipherPreference(Native Method)
         at SSLClient.<init>(SSLClient.java:263)
         at SSLClient.main(SSLClient.java:324)

This looks like a java.net error.  I have the feeling java doesn't know 
where to find the NSS or something.  I am not sure what else I need to 
do in order to get this to work.  I recall that when I used JSSE way 
back when I had to tell it where to find some additional ciphers, etc. 
Is there a step similar to this which I am not aware of for JSS?

I'd really like to use this suite.  I believe I can do a great deal with 
it, but if I spend much more time trying to get the basics working, it 
will be a non-starter.

Is there a good step-by-step set of instructions which is fairly 
current.  I'm running on both w2k and Solaris 8, sparc.

TIA,

Steven


Reply via email to