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. You can configure one- or two-way SSL authentication.
-
You cannot configure SSL encryption with an Oracle database server on AIX.
-
You cannot use the Interactive Database Utilities or restore_host_config utility when you configure the SSL connection to an Oracle database server.
Before You Begin
-
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.
-
Set the Oracle server to listen on a non-default TCPS port.
-
Begin
-
Shut down Control-M/EM and Control-M/Server components.
-
Run the following commands to verify that you can run the ssl_api.sh --help command:
-
~/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:
-
Run the following command to create a wallet:
ssl_api.sh --CREATE_WALLET --WALLET_PASSWD <WALLET_PASSWD>
-
Run the following command to verify that a wallet has been created:
ssl_api.sh --DISPLAY_WALLET
A self signed certificate file is created in the following wallet folder:
$TNS_ADMIN/wallet/*.cert
-
If you intend to use two-way authentication, send this certificate file to the Oracle DBA.
-
-
Run the following command:
ssl_api.sh --CONFIG_FILES --TCPS_PORT <TCPS_PORT_Number>
where the <TCPS_PORT_Number> parameter is the secured port number that 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>
- (Optional) To enable support for one-way authentication, do the following:
Open the following file in a text editor:
$ORACLE_HOME/network/admin/sqlnet.ora
Locate the SSL_CLIENT_AUTHENTICATION parameter and change the value from TRUE to FALSE.
Save and close the file.
- 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>
