Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Oracle

Linux platform

This guide covers connecting to a Tessell Oracle database service over SSL/TLS on Linux using SQL*Plus.


Step 1 — Install tools

  1. Download and unzip the Oracle Instant Client from Oracle Instant Client Downloads (Linux x86-64).

  2. Download and unzip SQLcl from Oracle SQLcl Downloads.

For example:

  • Instant Client: /home/ubuntu/<user>/instantclient_21_9

  • SQLcl: /home/ubuntu/<user>/sqlcl


Step 2 — Set up orapki

Installing orapki directly from Oracle requires the full Fusion Middleware package. Use the following script instead to simulate orapki via SQLcl's bundled JARs:

#!/bin/bash
# set classpath for orapki - align this to your local SQLcl installation
SQLCL=<sqlcl unzipped path>/lib/   # e.g. /home/ubuntu/<user>/sqlcl/lib/
CLASSPATH=${SQLCL}/oraclepki.jar:${SQLCL}/osdt_core.jar:${SQLCL}/osdt_cert.jar
# simulate orapki command
java -classpath ${CLASSPATH} oracle.security.pki.textui.OraclePKITextUI "$@"

Step 3 — Download the CA certificate

Download the CA certificate from the Overview tab of your DB service in Tessell (My Services → Overview → CA Certificate).

Figure 1 — CA Certificate download on the service Overview page


Step 4 — Create the Oracle wallet and import the certificate

  1. Create the wallet directory:

  1. Import the Tessell CA certificate:

  1. Verify the certificate was imported:


Step 5 — Configure sqlnet.ora

Create a sqlnet.ora file in <instant_client_path>/network/admin with the following content:


Step 6 — Connect using SQL*Plus

  1. Download and install the SQL*Plus package.

  2. Set ORACLE_HOME to the Instant Client directory:

  1. Confirm sqlnet.ora is present in $ORACLE_HOME/network/admin.

  2. Connect to the database:

Tip: The Tessell service Overview page provides a pre-configured connection string you can use as a starting point.

  1. Verify the connected protocol:

Expected output:

Last updated

Was this helpful?