我在oracle数据库12.1上
我想提出一个SSL请求。但是我出现了这个错误。 我制作了这样的ACL文件:
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl => 'acl.xml',
description => 'acces ACL',
principal => 'PUBLIC',
is_grant => true,
privilege => 'connect');
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl => 'acl.xml',
principal => 'PUBLIC',
is_grant => true,
privilege => 'resolve');
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(
acl => 'acl.xml',
principal => 'PUBLIC',
is_grant => TRUE,
privilege => 'use-client-
certificates');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'acl.xml',
host => 'www.example.com',
lower_port => 443);
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'acl.xml',
host => 'www.example-test.com',
lower_port => 443);
DBMS_NETWORK_ACL_ADMIN.ASSIGN_WALLET_ACL (
acl => 'acl.xml',
wallet_path => 'file:F:\pathname'
);
END;
我执行下一个请求:
select utl_http.request('https://test-services.net-
entreprises.fr/authentifier/1.0/',null,
'file:F:\Certificat-API-PASRAU','arthus!008') from dual;
但是我有这个错误:
ORA-29273: échec de demande HTTP
ORA-06512: à "SYS.UTL_HTTP", ligne 1720
ORA-28860: Erreur SSL irrémédiable
ORA-06512: à ligne 1
29273. 00000 - "HTTP request failed"
*Cause: The UTL_HTTP package failed to execute the HTTP request.
*Action: Use get_detailed_sqlerrm to check the detailed error message.
Fix the error and retry the HTTP request.
这是一个有想法的人
先谢谢您