Using a Wallet-Based mTLS Connection
You can also connect to Autonomous AI Database using a wallet-based mutual TLS (mTLS) authentication.
Perform the following steps to connect to Autonomous AI Database with a wallet.
-
Sign in to Oracle Cloud and select your Autonomous AI Database instance.
This opens the Autonomous AI Database details page.
Note that a wallet-based method to connect to Autonomous AI Database works whether Mutual TLS (mTLS) authentication is set to Required or Not required, and regardless of whether Access Control List is Enabled or Disabled in the Network section of the details page.
-
Download the wallet by following the steps described in Download Client Credentials (Wallets).
-
Unzip the credentials file and note the path to your unzipped wallet directory on your client computer.
-
Build the JDBC URL using the connection string in
tnsnames.orafile.The
tnsnames.orafile in your wallet directory contains the descriptions of the available services and connection strings (for example,myadb1_medium) in your Autonomous AI Database. If you need to use a network proxy, you can addhttps_proxyandhttps_proxy_portvalues to the address description of the connection strings in yourtnsnames.orafile.The JDBC URL string is built as follows:
jdbc:oracle:thin:@<db_service_name>?TNS_ADMIN=<path_to_wallet_directory>