ORA-29024:证书验证失败 [英] ORA-29024: Certificate validation failure
问题描述
I've followed the following tutorials : Create wallet,Create ACL
我仍然得到 ORA-29024:证书验证失败
错误。
我正在尝试这个查询:
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);
现在我已添加到ACL:* .somedomain.co.il,somedomain.co。 il
Now i've added to the ACL : *.somedomain.co.il,somedomain.co.il
我已经下载了证书作为DER编码,因为我已经读过某个地方,这是需要的,并没有在过程中得到任何错误生成钱包。
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.
有什么想法吗?
我正在使用Oracle 11g
I'm using Oracle 11g
推荐答案
最后我的问题是当我导出证书时我选择了DER,在我的情况下我应该使用PCKS#7,但这不是大多数在所有情况下,我认为这取决于关键。
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.
这篇关于ORA-29024:证书验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!