Tuesday, 8 November 2022

ORA-29024: Certificate of the remote server does not match the target address

 


Make use of p_https_host parameter in your web service code.

select apex_web_service.make_rest_request(
      p_url         => 'https://apex.sunny.com'
    , p_http_method => 'GET' 
    , p_wallet_path => 'file:c:\oracle\wallet' 
    , p_https_host  => 'sunny test'
    ) from dual;
p_https_host --> should match the Common Name < CN >


No comments:

Post a Comment