ORA-29024:证书验证失败 [英] ORA-29024: Certificate validation failure

查看:3859
本文介绍了ORA-29024:证书验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循了以下教程:
创建钱包创建ACL

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆