Configuring SSL Encryption with an Oracle Database Server
This procedure describes how to configure SSL encryption between Control-M/EM, Control-M/Server, and Workload Archiving with an Oracle database server.
Before You Begin
Ensure you have met the following requirements:
-
Install Control-M/EM, Control-M/Server, and Workload Archiving with an Oracle database.
-
(Optional) Configure Kerberos authentication, as described in Configuring Kerberos Authentication with an Oracle Database Server.
-
Verify that the site Oracle DBA has done the following:
-
Created a wallet on the server site.
-
Created and signed a database certificate.
-
Imported all Control-M/EM and Control-M/Server certificates that you provided.
-
Set the Oracle server to listen on a non-default TCPS port.
-
Begin
-
Shut down Control-M/EM and Control-M/Server components.
-
Verify that you can run ssl_api.sh --help, by running the following commands:
-
~/ctm_server /exe_Linux-x86_64/DBUData/scripts/ssl_api.sh --help
-
~/ctm_em/bin/DBUData/scripts/ssl_api.sh --help
-
-
Copy the database self-signed certificate provided by the DBA to the Control-M/EM machine.
-
Navigate to the following DBUtils scripts folder:
-
~/ctm_server /exe_Linux-x86_64/DBUData/scripts
-
~/ctm_em/bin/DBUData/scripts
-
-
Do the following:
-
Create a wallet by running the following command:
ssl_api.sh --CREATE_WALLET --WALLET_PASSWD <WALLET_PASSWD>
-
Verify that a wallet has been created by running the following command:
ssl_api.sh --DISPLAY_WALLET
A self signed certificate is created in the wallet folder. Send this certificate to the Oracle DBA.
-
-
Run the following command:
ssl_api.sh --CONFIG_FILES --TCPS_PORT TCPS_PORT
The secured port number (TCPS_PORT) is provided by the Oracle DBA.
-
Run the following command:
ssl_api.sh --IMPORT_TRUSTED_CERT
ssl_api.sh --IMPORT_TRUSTED_CERT --WALLET_PASSWD <mypass> --CERT_FILE <…./ora_db_server.cert>
- Verify the SSL connection, as follows:
If you are not using Kerberos validation, run the following command:
ssl_api.sh --TEST_CONNECTION --DB_USER_PASSWD <DB_USER_PASSWD>
If you are using Kerberos validation, run the following command:
ssl_api.sh --TEST_CONNECTION
- Run DBUStatus.
If you want to disable SSL, run the following command:
ssl_api.sh --DISABLE_SSL --TCP_PORT <non-secured port>