Kbase P80827: How to setup the OpenEdge 10.0a Sonic Adapter for SSL on Windows?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/12/2004 |
|
Status: Unverified
GOAL:
How to setup the Sonic Adapter for SSL?
FACT(s) (Environment):
SonicMQ 4.x
SonicMQ 5.x
OpenEdge 10.x
FIX:
The SonicMQ product and the SonicMQ Adapter support passing messages via HTTP and HTTPS. Although these are not the default protocols, the Sonic and OpenEdge environments can be configured for them.
To configure the SonicMQ Adapter for HTTPS:
1. Shut down all instances of the Sonic broker and the AdminServer.
2. Define the below settings in the <Sonic_Install>\Sonic broker.ini file:
ENABLE_SECURITY=TRUE
DEFAULT_SOCKET-TYPE=HTTPS
3. Rebuild the Sonic databases:
cd <Sonic_Install>
bin\dbtool /d basic
bin\dbtool /cs basic
bin\dbtool /c security
4. Copy the SSL jar files jaxp.jar, certj.jar, sslj.jar, and jsafe.jar
from <Sonic_Install>\lib directory to <Progress_Install>\java\sonicMQ\lib.
5. Modify the %DLC%\properties\AdminServerPlugins.properties JVMARGS and PROGRESSCP environment variables:
Under the [PluginPolicy] JVMARGS append:
-DSSL_CA_CERTIFICATES_DIR=sonic-install-dir\certs\CA
Under the [PluginPolicy.Progress.SonicMQ] CLASSPATH append:
%DLC%\java\sonicMQ\lib\jaxp.jar
%DLC%\java\sonicMQ\lib\certj.jar
%DLC%\java\sonicMQ\lib\sslj.jar
%DLC%\java\sonicMQ\lib\jsafe.jar
6. Modify the SonicMQ 4GL application to run setUser and setPassword before running beginSession. This lets you specify the user name and password Sonic will use to authenticate users. Sonic sets the initial value of both user name and password to Administrator. To set up additional user name-password pairs, use the Sonic Explorer.
7. Modify the SonicMQ 4GL application so that each time setBrokerURL is run, thebrokerURL input parameter specifies HTTPS.
8. Start the Sonic broker.
9. Start the AdminServer.
10. Start the SonicMQ Adapter.