Symptoms:
Your Oracle PLSQL routine is trying to access a https website and you get such an error:
Exception in "begin_request":
Error Stack: ORA-29273: HTTP request failed
ORA-29024: Certificate validation failure
ORA-06512: at "SYS.UTL_HTTP", line 380
ORA-06512: at "SYS.UTL_HTTP", line 1189
Backtrace: ORA-06512: at "SYS.UTL_HTTP", line 380
ORA-06512: at "SYS.UTL_HTTP", line 1189
Cause:
This is because there is no handshaking with encryptation channel between your database connection and the website that only respondes via https.
Solution:
So now, go to your server and create a specific directory for your wallet and create one:
Copy your certificate files to this folder
Create the wallet
Add the certificate files to the wallet
- List all added certificates into the wallet
- Certainly you will need to configure the ACL (Access Control List) from your database, adjusting the code below.
- To test that is working, adapt your code to include the wallet path and password, such example:
Hope this help.
No comments:
Post a Comment