Exception in thread main Security Error in wm Enterprise

Hi,

I am writing a custom java admin utility to perform some routine task. I want to connect to the broker using SSL. I get following error.

Brokers I am trying to connect are 4.1.1, 5.0,5.0.1. I am using JVM 1.4.2. What am I missing?

Exception in thread “main” Security Error (114-1442): Secure sockets are not supported with this version of the classes.

    at COM.activesw.api.client.BrokerConnection.loadSSL(BrokerConnection.jav 

a:189)
at COM.activesw.api.client.BrokerConnection.testSSLContext(BrokerConnect
ion.java:653)
at COM.activesw.api.client.BrokerConnectionDescriptor.setSSLCertificate(
BrokerConnectionDescriptor.java:436)

Just check which version of broker you have.

4.0 version : awssl40jn.dll (for windows) or libawssl40jn.so (for Unix-Linux)

5.0 version : awssl50jn.dll (for windows) or libawssl50jn.so (for Unix-Linux)

Thanks