Linux platform
This guide covers connecting to a Tessell Oracle database service over SSL/TLS on Linux using SQL*Plus.
Step 1 — Install tools
Download and unzip the Oracle Instant Client from Oracle Instant Client Downloads (Linux x86-64).
Download and unzip SQLcl from Oracle SQLcl Downloads.
For example:
Instant Client:
/home/ubuntu/<user>/instantclient_21_9SQLcl:
/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
Create the wallet directory:
Import the Tessell CA certificate:
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
Download and install the SQL*Plus package.
Set
ORACLE_HOMEto the Instant Client directory:
Confirm
sqlnet.orais present in$ORACLE_HOME/network/admin.Connect to the database:
Tip: The Tessell service Overview page provides a pre-configured connection string you can use as a starting point.
Verify the connected protocol:
Expected output:
Last updated
Was this helpful?