The driver supports Oracle Wallet SSL authentication, which was introduced in Oracle 11.1.0.6. When Oracle Wallet SSL Authentication is enabled, SSL certificates are authenticated against a list of trusted certificates stored in the wallet. Refer to the documentation for your Oracle database for detailed information on the Oracle Wallet feature.

To enable Oracle Wallet SSL authentication:

  • Enable SSL (EncryptionMethod=1).
  • Set the Authentication Method connection option:
    • If a user ID or password is not required, set to 11 (SSL).
    • If a user ID or password is required, set to 12 (SSL with UID & PWD).
  • Set the Key Store option to specify the absolute path of the keystore file in your wallet that contains the SSL certificate information.
  • Optionally, if you are using a file in the PKCS#12 format, set the Key Store Password option to specify the password if required by your environment.
  • Set the Trust Store option to specify the absolute path of the truststore file in your wallet that contains the SSL certificate information.
  • Optionally, if you are using a file in the PKCS#12 format, set the Trust Store Password option to specify the password if required by your environment.
  • If a user ID and password is required (AuthenticationMethod=12), specify the corresponding value for the User Name and Password options.
Note: When Oracle Wallet SSO is used as the Key Store or Trust Store, the Key Store Password and Trust Store Password options are not required.