How to Configure SSL Manually
10-22 Oracle Complex Event Processing Administrators Guide
For information on starting Oracle CEP Visualizer in a multi-server domain, see How to Start Oracle CEP Visualizer in a Multi-Server Domain in the Oracle Complex Event
Processing Visualizer Users Guide.
To configure SSL in a multi-server domain for use by Oracle CEP Visualizer: 1.
Ensure that SSL is configured for the two servers in the domain. If you used the Configuration Wizard to create the servers, then SSL is configured
by default. See
Section 10.5.1, How to Configure SSL Manually for details, as well as
information on how to change the default configuration.
2.
Start server2. See
Section 1.5.4, Starting and Stopping Oracle CEP Servers .
3.
Open a command window and set your environment as described in Setting Your Development Environment in the Oracle Complex Event Processing Getting Started.
4.
Change to the ssl sub-directory of the server1 directory: prompt cd oracle_cepuser_projectsdomainsmydomainserver1ssl
5.
Generate a trust keystore for server1 that includes the certificate of server2 by specifying the following command split for readability; in practice, the command
should be on one line:
prompt java -classpath ORACLE_CEP_HOME\ocep_ 11.1\common\lib\evspath.jar;ORACLE_CEP_HOME\ocep_
11.1\utils\security\wlevsgrabcert.jar com.bea.wlevs.security.util.GrabCert host:secureport
-alias=alias truststorepath
where
■
ORACLE_CEP_HOME refers to the Oracle CEP installation directory such as
d:oracle_cep
■
host refers to the computer on which server2 is running.
■
secureport refers to the SSL network io port configured for server2.
Default value is 9003. For more information, see
Example 10–5 in
Section 10.5.1, How to Configure SSL Manually.
■
alias refers to the alias for the certificate in the trust keystore. Default value
is the hostname.
■
truststorepath refers to the full pathname of the generated trust keystore
file; default is evstrust.jks For example split for readability; in practice, the command should be on one line:
prompt java -classpath C:\OracleCEP\ocep_ 11.1\common\lib\evspath.jar;C:\OracleCEP\ocep_
11.1\utils\security\wlevsgrabcert.jar com.bea.wlevs.security.util.GrabCert server2:9003
-alias=server2 evstrust.jks
For more information, see Section C.3, The GrabCert Command-Line Utility
.
6.
When prompted, enter the Oracle CEP administrator password:
Configuring Security for Oracle CEP 10-23
Please enter the Password for the supplied user : wlevs
7.
When prompted, select the certificate sent by server2: Created TrustStore evstrust.jks
Opening connection to server2:9003... Starting SSL handshake...
No certificates in evstrust.jks are trusted by server2:9003 Server sent 1 certificates:
1 Subject CN=localhost, OU=Event Server, O=BEA, L=San Jose, ST=California, C=US
Issuer CN=localhost, OU=Event Server, O=BEA, L=San Jose, ST=California, C=US
sha1 00 07 c0 f4 10 48 9a f9 07 82 4f b6 9c 7f 7c d0 37 57 90 7d md5 a4 d4 ff d2 43 69 95 ca c3 43 e6 f6 b8 08 df b7
Enter certificate to add to trusted keystore evstrust.jks or q to quit: [1]
8.
Update the config.xml file of server1, adding trust keystore information to the ssl element and adding a use-secure-connections element, as shown in
bold in the following snippet:
ssl namesslConfigname
key-store.sslevsidentity.jkskey-store key-store-pass
password{Salted-3DES}s4YUEvH4Wl2DAjb45iJnrw==password key-store-pass
key-store-aliasevsidentitykey-store-alias key-manager-algorithmSunX509key-manager-algorithm
ssl-protocolTLSssl-protocol trust-store.sslevstrust.jkstrust-store
trust-store-pass passwordwlevspassword
trust-store-pass trust-store-aliasevstrusttrust-store-alias
trust-store-typeJKStrust-store-type trust-manager-algorithmSunX509trust-manager-algorithm
enforce-fipsfalseenforce-fips need-client-authfalseneed-client-auth
ssl use-secure-connections
valuetruevalue use-secure-connections
The config file is located in the config subdirectory of the main server directory, such as oracle_cepuser_
projectsdomainsmydomainserver1config.
9.
Encrypt the cleartext password in the trust-store-pass element password child element of the config.xml file by using the encryptMSAConfig utility.
See Section C.2, The encryptMSAConfig Command-Line Utility.
10.
Start server1.
10-24 Oracle Complex Event Processing Administrators Guide