Consultor Eletrônico



Kbase 21252: SonicMQ: Enabling SSL Communication For the ActiveX Client
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/2002
SUMMARY:

This Solution describes with a simple example, how to let the ActiveX client communicate via the SSL communication protocol.

*** IMPORTANT NOTE ***

SSL with the ActiveX Client is still untested and unsupported by Development. While this case works with the EXACT versions noted below, the ActiveX client was not designed to support this functionality, and therefore may not work in your particular implementation.

**********************

This information applies to the ActiveX client for SonicMQ Version 3.5
on NT4.0 SP 6a with JAVA version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode).


EXPLANATION:

SonicMQ 3.5 provides the capability to communicate via SSL.
The ActiveX client communicates to the SonicMQ broker, via
the SonicMQ Bean Control, over the Java-ActiveX Bean Bridge
provided by JavaSoft with the beans.ocx. The Java runtime executable itself is able to communicate as a normal Java client via SSL as well.

SOLUTION:

After enabling SSL for the SonicMQ broker follow that steps:

The Java runtime executable looks for Java archives within:

<JRE home>\lib\ext

Therefore, to find the archives needed to run SSL it is necessary to copy the following .jar files from, <Sonic_Home>\lib to
<JRE home>\lib\ext.

SonicSSL.jar
jsafe.jar
sslj.jar
certj.jar

Replace <Sonic_Home> with the Path name, including drive letter where SonicMQ is installed. Also replace <JRE home> with the Path name, including drive letter of the Java Runtime installation.

Additionally, you must add the necessary JVM arguments for running SSL. This can be done on Windows by these steps:

1) From the Control Panel, double-click the Duke icon labeled
"Java Plug-in" to launch the Java Plug-in Control Panel.

2) On the first screen which appears as Basic folder, add the
Java Run Time Parameters, for example:

-DSSL_CA_CERTIFICATES_DIR=E:\Sonic35\certs\CA

and apply the changes.

The example E:\Sonic35 contains the installation directory of SonicMQ version 3.5.


References to Written Documentation:

SonicMQ Installation Configuration and Administration Guide

http://java.sun.com/products/plugin/1.3/docs/controlpanel.html#Start