我通过 SYS.UTL_HTTP PL / SQL包访问HTTPS网络服务。
Web服务证书刚刚过期。
我续订了证书但我无法通过PL / SQL
访问网络服务当我打电话给网络服务时,我收到以下错误消息:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1130
ORA-29024: Certificate validation failure
尽管证书是有效的,但我得到了证书验证失败错误!
如何解决此问题?
提前致谢。
答案 0 :(得分:1)
我必须在BD服务器级别更新证书。按照以下步骤操作:
1. Depose the new certificate at the Wallet directory: /app/wallet/certif in my case.
2. Chmod 750 on the certificate files
3. Connect to the database instance with an admin user
4. Go to the directory /app/wallet/certif
5. Import the certificate with the following commands line:
=> a. orapki wallet add -wallet /appli/wallet -trusted_cert -cert "CERTIF_NAME-cert.pem" –pwd XXXXXXX