[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl]cu|| SSL Problem



Hi all,

i m using IAIK SSL library for SSL implementation. I
have two problems
1- During negotiation/handshaking, an exception is
thrown .. i m printing here full message sequence.
ssl_debug(1): Starting handshake (iSaSiLk 3.03
Evaluation Version)...

ssl_debug(1): Received v3 client_hello handshake
message.
ssl_debug(1): Client requested SSL version 3.0,
selecting version 3.0.
ssl_debug(1): Creating new session
08:1C:06:1D:3E:04:E0:43...
ssl_debug(1): CipherSuites supported by the client:
ssl_debug(1): SSL_RSA_WITH_IDEA_CBC_SHA
ssl_debug(1): SSL_RSA_WITH_RC4_128_SHA
ssl_debug(1): SSL_RSA_WITH_RC4_128_MD5
ssl_debug(1): CompressionMethods supported by the
client:
ssl_debug(1): NULL
ssl_debug(1): Sending server_hello handshake message.
ssl_debug(1): Selecting CipherSuite:
SSL_RSA_WITH_RC4_128_SHA
ssl_debug(1): Selecting CompressionMethod: NULL
ssl_debug(1): Sending certificate handshake message
with server certificate...
ssl_debug(1): Sending server_hello_done handshake
message...
ssl_debug(1): Received client_key_exchange handshake
message.
ssl_debug(1): Exception while handshaking:
ssl_debug(1): java.lang.RuntimeException: Unable to
create cipher RC4/ECB/NoPadding:
java.security.NoSuchAlgorithmException: Algorithm RC4
not implemented.
ssl_debug(1):at iaik.security.ssl.r.e(Unknown Source)
ssl_debug(1):at iaik.security.ssl.f.c(Unknown Source)
ssl_debug(1):at iaik.security.ssl.f.a(Unknown Source)
ssl_debug(1):at iaik.security.ssl.r.d(Unknown Source)
ssl_debug(1):at
iaik.security.ssl.SSLTransport.startHandshake(Unknown
Source)
ssl_debug(1):at
iaik.security.ssl.SSLTransport.getOutputStream(Unknown
Source)
ssl_debug(1): 	at
iaik.security.ssl.SSLSocket.getOutputStream(Unknown
Source)

ssl_debug(1): 	at SSLServer.main0(SSLServer.java:154)
ssl_debug(1): 	at SSLServer.main(SSLServer.java:204)
ssl_debug(1): Sending alert: Alert Fatal: handshake
failure

ssl_debug(1): Shutting down SSL layer...
An exception occured:
java.io.IOException: Fatal SSL handshake error:
java.lang.RuntimeException: Unable to create cipher
RC4/ECB/NoPadding:
java.security.NoSuchAlgorithmException: Algorithm RC4
not implemented.at
iaik.security.ssl.SSLTransport.b(Unknown Source) at
iaik.security.ssl.SSLTransport.startHandshake(Unknown
Source)	at
iaik.security.ssl.SSLTransport.getOutputStream(Unknown
Source) at
iaik.security.ssl.SSLSocket.getOutputStream(Unknown
Source)at SSLServer.main0(SSLServer.java:154)
at SSLServer.main(SSLServer.java:204)
ssl_debug(1): Closing transport...


I think the problem is with Provider, that these algos
are not implemented in it. How this problem can be
solved. Remember that cleint supports only these
algorithms.

2- after successful handshaking ... how would i read
OCSP request because i think it would be encrypted,
any demo code example for that?

Regards
Nick



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com
--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl