Got this problem with my java codes (JSDK 1.3) when I try to use SSL.
I’ve applied up to EnterprisePlatform SP4 for Enterprise Server 4.1.1.
I’ve tried the java classpath with client.jar and client45.jar and still get the same problem.
Please advise.
java codes
public static COM.activesw.API.client.BrokerConnectionDescriptor
getBrokerConnectionDescriptor(){
COM.activesw.API.client.BrokerConnectionDescriptor bcd = new
COM.activesw.API.client.BrokerConnectionDescriptor();
try {
bcd.setAutomaticReconnect(true);
bcd.setSSLCertificate(prop.getProperty(“bcd.Dir”),
prop.getProperty(“bcd.Pass”), prop.getProperty(bcd.USE_DEFAULT_DN));
} catch (COM.activesw.API.client.BrokerException e) {
e.printStackTrace();
System.err.println(e.toCompleteString());
return null;
}
return bcd;
}
property file
#[BrokerConnectionDescriptor]
bcd.Dir=./ssl/dttbroker.cf
bcd.Pass=dttbroker
bcd.Name=C=SG, O=DSTA, OU=SERVER HOST, CN=DTTBroker
java error message
Security Error (114-1442): Secure sockets are not supported with this
version of the classes.
java.lang.Throwable()
java.lang.Exception()
COM.activesw.API.client.BrokerException(int, int, int)
COM.activesw.API.client.BrokerSecurityException(int, int)
void COM.activesw.API.client.BrokerConnection.loadSSL()
void
COM.activesw.API.client.BrokerConnection.testSSLContext(java.lang.String,
java.lang.String, java.lang.String)
void
COM.activesw.API.client.BrokerConnectionDescriptor.setSSLCertificate(java.la
ng.String, java.lang.String, java.lang.String)
COM.activesw.API.client.BrokerConnectionDescriptor
infobroker.admin.Base.getBrokerConnectionDescriptor()
void infobroker.admin.IBrokerServer.connect()
void infobroker.admin.AdminBase.monitorNow()
void infobroker.admin.Monitor.monitorNow()
void infobroker.admin.Monitor.run()
void java.lang.Thread.run()
void infobroker.admin.Monitor.main(java.lang.String )
Security Error (114-1442): Secure sockets are not supported with this
version of the classes. (BrokerConnectionDescriptor.setSSLCertificate-7717)