ORA-29273:HTTP 请求失败 ORA-29024:证书验证失败 ORA-06512:位于“SYS.UTL_HTTP”

问题描述 投票:0回答:1

我得到了

ORA-29273: HTTP request failed
ORA-29024: Certificate validation failure
ORA-06512: at "SYS.UTL_HTTP"

尝试使用 https 从网站获取网页时。 我从网站将证书导入钱包

Oracle PKI Tool Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.

Requested Certificates:
Subject:        C=UA,ST=ua,L=kyiv,O=test,OU=test,CN=test
User Certificates:
Trusted Certificates:
Subject:        CN=extremstyle.ua

然后运行这个块

declare
 req utl_http.req;
 resp utl_http.resp;
begin
 utl_http.set_wallet('file:C:\OracleSoftware\admin\db1\dpdump', '*******');  -- here real password
 req := utl_http.begin_request('https://extremstyle.ua/');
 utl_http.set_header(req, 'User-Agent', 'Mozilla/4.0');
 resp := utl_http.get_response(req);
 utl_http.end_response(resp);
end;
/

我还应该做什么或检查什么? 我在这里阅读了很多关于此的主题,但仍然没有任何想法......

oracle validation web https certificate
1个回答
0
投票

这是一项了不起的技术。有时它会给出正确的页面,有时会以某种方式撕裂,有时会升起

ORA-29273: HTTP request failed
ORA-29263: HTTP protocol error
ORA-06512: at "SYS.UTL_HTTP", line 837
ORA-06512: at
"SYS.UTL_HTTP", line 1350

我看不到任何依赖性。 太棒了!

© www.soinside.com 2019 - 2024. All rights reserved.