powered by Jive Software

Runtime error while connection using Smack 2.2.1

Hello there,

I am getting a runtime error while using smack 2.2.1 during server connection. The error is as below:

javax.net.ssl.SSLKeyException: RSA premaster secret error

at com.sun.net.ssl.internal.ssl.PreMasterSecret.(Unknown Source)

at com.sun.net.ssl.internal.ssl.RSACipher.getInstance(Unknown Source)

… 13 more

the code used to connect is as per the examples provided in the Smack API documentation. It would be a favour if someone could throw some light on the possible causes of this error.


M. Saquib