The Oracle driver supports the use of Oracle Wallet as a keystore in Oracle's Java Runtime Environment. A wallet is a password-protected container that is created using the Oracle Wallet Manager. It contains trusted certificates for authenticating the server's public certificate. The wallet may also contain client private key and associated certificates required for client authentication.
Depending on the contents of your Oracle Wallet, you must include specific connection properties in your connection URL as descibed in the following scenarios:
If a wallet contains client certificates, you must specify the KeyStore and KeyStorePassword connection properties in your connection URL.
If a wallet contains the trusted certificates and client certificates required for both server and client authentication, you must specify only TrustStore and TrustStorePassword in the connection URL. The Oracle driver treats the truststore file as a keystore and loads client certificates required for client authentication.
Oracle Wallet is compliant with the PKCS#12 standard and the file extension must be .pfx or .p12.