My Oracle Support Banner

APEX_WEB_SERVICE.MAKE_REST_REQUEST Returns ORA-29106: Cannot Import PKCS #12 Wallet (Doc ID 2423389.1)

Last updated on AUGUST 23, 2024

Applies to:

Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Application Express (APEX) - Version 2.0 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When issuing a select using UTL_HTTP.request the process completes successfully, but while running the same with APEX_WEB_SERVICE.MAKE_REST_REQUEST it fails.

a) select utl_http.request('https://<DOMAINNAME>.index.html',WALLET_PATH=>'file:/u01/app/pkiwallet') from dual; -- Completes successfully.

b) select apex_web_service.make_rest_request('https://<DOMAINNAME>.index.html','GET',p_WALLET_PATH=>'file:/u01/app/pkiwallet') from dual; -- Fails with the following error:

ERROR:

ORA-29273: HTTP request failed
ORA-06512: at "APEX_180100.WWV_FLOW_WEB_SERVICES", line 1011
ORA-29106: Cannot import PKCS #12 wallet.
ORA-06512: at "SYS.UTL_HTTP", line 380
ORA-06512: at "SYS.UTL_HTTP", line 1127
ORA-06512: at "APEX_180100.WWV_FLOW_WEB_SERVICES", line 911
ORA-06512: at "APEX_180100.WWV_FLOW_WEB_SERVICES", line 1517
ORA-06512: at "APEX_180100.WWV_FLOW_WEBSERVICES_API", line 369
ORA-06512: at line 1

 

Changes

 Wallet properties changed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.