Kbase 20585: How to connect the SonicMQ Adapter to the SonicMQ broker using the SSL protocol.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/13/2009 |
|
Status: Unverified
GOAL:
How to connect the SonicMQ Adapter to the SonicMQ broker using the SSL protocol.
GOAL:
How to configure the SonicMQ adapter using SSL
FACT(s) (Environment):
Progress 9.1B
Progress 9.1C
Progress 9.1D
Progress 9.1E
SonicMQ
SonicMQ 3.5
SonicMQ 4.x
FIX:
The 4GL adapter is a Java program that requires the same parameters as other SonicMQ Java client that uses the SSL connection.
For SonicMQ 5.x
To the JVMARGS environment variable, append the following:
-DSSL_CA_CERTIFICATES_DIR=sonic-install-dir\certs\CA
To the PROGRESSCP environment variable, append the following files from the $DLC/java/sonicMQ/lib directory: asn1.jar, certj.jar, sslj.jar, jsafe.jar
For SonicMQ 4.x
To the JVMARGS environment variable, append the following:
-DSSL_CA_CERTIFICATES_DIR=sonic-install-dir\certs\CA
To the PROGRESSCP environment variable, append the following files from the $DLC/java/sonicMQ/lib directory: jxap.jar, certj.jar, sslj.jar, jsafe.jar
For Sonic 3.5 make the following modifications:
On Windows:
Modify the Windows Registry HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\<Progress Version>\JAVA) PROGRESSCP and JVMARGS settings to the following:
PROGRESSCP=<DLC>\java\progress.zip; <DLC>\java\sonicMQ\lib\client.jar; <DLC>\java\sonicMQ\lib\jndi.jar; <DLC>\java\sonicMQ\lib\sslj.jar; <DLC>\java\sonicMQ\lib\certj.jar; <DLC>\java\sonicMQ\lib\jsafe.jar;
The jar files under <DLC>\java\sonicMQ\lib\ are copied from <SonicMQ installation>\lib directory.
JVMARGS=-ms1m -DSSL_CA_CERTIFICATES_DIR="C:\Program Files\Progress_SonicMQ_30\certs\CA"
If the path contains spaces, be sure to use double quotes as in the example above. Without the double quotes, the SonicMQ Adapter does not start and no message is displayed.
On UNIX:
Modify the $DLC/bin/java_env to include jar files from the SonicMQ installation, and add an additional startup options to the JVMARGS:
Append the following files to the PROGRESSCP environment setting:
$DLC/java/progress.zip:$DLC/java/sonicMQ/lib/client.jar:$DLC/java/sonicMQ/lib/jndi.jar:$DLC/java/sonicMQ/lib/sslj.jar:$DLC/java/sonicMQ/lib/certj.jar:$DLC/java/sonicMQ/lib/jsafe.jar;
The jar files under $DLC/java/sonicMQ/lib are copied from <SonicMQ installation>\lib directory.
JVMARGS=-ms1m -DSSL_CA_CERTIFICATES_DIR="C:\Program Files\Progress_SonicMQ_30\certs\CA"