Hello,
I have a problem with calling a webservice over SSL.
The database version is 12.1.0.2.0.
I want to call the following url: https://postcode-api.apiwise.nl but I get the error ORA-28860: Fatal SSL error.
I did the following:
1) Create a oracle wallet
orapki wallet create -wallet /u01/app/oracle/wallets/ssl-wallet -pwd password
2) Export the certificates with my browser( Export -> save as Base64 encoded X.509)
3) Add the certificates to my wallet. Only the CA Certificates (COMODO RSA Domain Validation Secure Server CA, COMODO Secure)
orapki wallet add -wallet /u01/app/oracle/wallets/ssl-wallet/ -trusted_cert -cert /u01/app/oracle/wallets/ssl-wallet/comodo_rsa_domain_validation.cer
orapki wallet add -wallet /u01/app/oracle/wallets/ssl-wallet/ -trusted_cert -cert /u01/app/oracle/wallets/ssl-wallet/comodo_rsa_secure.cer
4) The certificates have been succesfully added to my Wallet.
5) I have created the necessary ACL
6) Then I test it, but it gives me the error.
In order to simplify the problem, I run the following statemetn with SQL Developer
SELECT utl_http.request('https://postcode-api.apiwise.nl',null,'file:/u01/app/oracle/wallets/ssl-wallet/','password') from dual;
But then I get this error:
ORA-29273: HTTP request failed
ORA-28860: Fatal SSL error
ORA-06512: at "SYS.UTL_HTTP", line 1491
ORA-06512: at line 1
29273. 00000 - "HTTP request failed"
*Cause: The UTL_HTTP package failed to execute the HTTP request.
*Action: Use get_detailed_sqlerrm to check the detailed error message.
Fix the error and retry the HTTP request.
Does anyone know how to fix this problem?
Kind regards,
Kevin