I am writting a midlet to connect to a video server. The server need a ssl v3, with the TrustManagerFactory is SunX509 and the KeyStore is JKS. I tried to use the secure and https connection, but the error occured and was logged on the server:
2006-10-20 16:14:01,851 [ClientListener] DEBUG camMan.server.clientConnection.ClientListener - accepting new connection
2006-10-20 16:14:01,896 [Thread-288170] ERROR camMan.server.clientConnection.ClientListener - accept failed
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
When I used the SSLSocket in javax.net.ssl pack of J2SE, I connected successfully to the movie server.
Does any one know how to make such kind of sslsocket in midp. I would appreciate any helps.
Thank you in advance.