You do not specify your network access control lists (ACLs), but in Oracle 11g you must configure the ACLs for the host you want to connect to and the wallet you want to use. Since you are not mentioning the error "ORA-24247: denial of network access through access control (ACL)", I assume that this part is configured correctly.
The wallet ACL determines its location and provides privileges against the wallet to users. Without these privileges, Oracle will not open a wallet or provide a certificate to a web server, even if you have the correct password. A wallet ACL is created with the following PL / SQL run as SYS:
BEGIN UTL_HTTP.ASSIGN_WALLET_ACL ( acl => 'your_acl_name.xdb', wallet_path => '/path/to/my/wallet/'); END; /
After creating the wallet ACL, the user must have privileges granted to him.
BEGIN DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE( acl => 'your_acl_name.xml', principal => 'MY_USER', is_grant => TRUE, privilege => 'use-client-certificates'); END; /
This will allow Oracle to open the wallet on behalf of your user and submit the certificate to the web server.
source share