Oracle Wallet Search Order
Oracle Database provides several routes for finding the wallet on a server in a Transport Layer Security (TLS) environment.
The Oracle Database server retrieves the wallet by searching in these locations, in the following order:
-
Per-PDB wallet under
WALLET_ROOTin theinit.orafileNote that
WALLET_ROOT/tlsfor the CDB root,WALLET_ROOT/pdb_ID/tlsfor PDB -
Per-PDB wallet under
WALLET_LOCATIONin thesqlnet.orafileNote that
WALLET_LOCATION/tlsfor the CDB root,WALLET_LOCATION/pdb_ID/tlsfor PDB -
WALLET_LOCATIONin thesqlnet.orafile -
$TNS_ADMINenvironment variable setting -
Default wallet location:
-
Linux:
/etc/ORACLE/WALLETS/user_name -
Windows:
C:\Users\user_name\ORACLE\WALLETS
-
The TNS listener retrieves the wallet location by searching in these locations, in the following order:
-
WALLET_LOCATIONin thelistener.orafile -
$TNS_ADMINenvironment variable setting -
Default wallet location:
-
Linux:
/etc/ORACLE/WALLETS/user_name -
Windows:
C:\Users\user_name\ORACLE\WALLETS
-
Oracle Database Client retrieves the wallet by searching in these locations, in the following order:
-
Connect string
-
WALLET_LOCATIONin thesqlnet.orafile -
$TNS_ADMINenvironment variable setting -
Default wallet location:
-
Linux:
/etc/ORACLE/WALLETS/user_name -
Windows:
C:\Users\user_name\ORACLE\WALLETS
-
-
System wallets located in the certificate store location. The default certificate store location depends on the platform. For Windows, it is in the Microsoft Certificate Store for Microsoft Windows. For Linux, its locations are as follows:
-
RHEL/Oracle Linux:
/etc/pki/tls/cert.pem -
Debian/Ubuntu/Gentoo:
/etc/ssl/certs/ca-certificates.crt -
Fedora/RHEL:
/etc/pki/tls/certs/ca-bundle.crt -
OpenSUSE:
/etc/ssl/ca-bundle.pem -
OpenELEC:
/etc/pki/tls/cacert.pem -
CentOS/RHEL7:
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem -
Alpine Linux:
/etc/ssl/cert.pem
-