ORA-29024: Certificate validation failure

只谈情不闲聊 提交于 2019-12-23 04:02:41

问题


I've followed the following tutorials : Create wallet,Create ACL

And I am still getting ORA-29024: Certificate validation failure error.

I'm trying this query :

    UTL_HTTP.set_wallet('file:/home/oracle/wallet', 'password');
  l_http_request  := UTL_HTTP.begin_request('https://somedomain.co.il');
  l_http_response := UTL_HTTP.get_response(l_http_request);

Now i've added to the ACL : *.somedomain.co.il,somedomain.co.il

And I've downloaded the certificate as DER encoded, as I've read somewhere that this is the one needed and didn't get any errors in the proccess of generating the wallet.

Any thoughts?

I'm using Oracle 11g


回答1:


In the end my problem was when I exported the certificate i choose DER, in my case i should have used PCKS # 7, but this won't most likley work in all cases i guess it depends on the key.

So i guess if you landed here try and play with your certificate files (be sure to remove and re-add) And very important, change sessions between tries to know if it worked or not because otherwise it'll keep giving you the error all though it should work.



来源:https://stackoverflow.com/questions/16079738/ora-29024-certificate-validation-failure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!