John Huh 2 Posted July 15, 2016 Posted July 15, 2016 What is the proper java code for connecting to EMS using SSL TibjmsAdmin(java.lang.Stringurl, java.lang.StringuserName, java.lang.Stringpassword, java.util.MapsslParams) I can't figure out how to code the sslParams part. Thanks in advance. /john
Pascal Reitermann Posted December 3, 2019 Posted December 3, 2019 The proper way would be like this: Map sslParams = new Hashtable(); sslParams.put(TibjmsSSL.TRUSTED_CERTIFICATES, trustedCAs); sslParams.put(TibjmsSSL.ENABLE_VERIFY_HOST_NAME, true); sslParams.put(TibjmsSSL.ENABLE_VERIFY_HOST, false); // Establish a connection. TibjmsAdmin admin = new TibjmsAdmin(brokerUrl, user, pass, sslParams));
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now