Hi Kevin,
Firstly to connect to an SSL enabled broker through a BrokerClient/BrokerAdminClient you have to use the BrokerConnectionDescriptor class to set the SSL related parameters.
I see from your code above you are passing null to the BrokerConnectionDescriptor parameter in the BrokerAdminClient constructor.
The sample code to connect to the SSL enabled broker using BrokerClient/BrokerAdminClient is as below:
setSSLCertificate throws Null Ptr Exception. Help appreciated!!
we are running JDK 1.2.2 with Jaguar EA server, we have the native library awssl50jn.dll (for windows 2000) in the library path. However we are getting a NullPointer exception on the call
…
bcd.setSSLCertificate(pathTosslCertificateFile,sslPassword,sslDistinguishedName);
…
The above line is throwing a Null Ptr Exception (bcd is not null)