SAP Knowledge Base Article - Preview

3083680 - SEC_E_UNTRUSTED_ROOT error occurred when call API via OS command "curl"

Symptom

When try to do connection test via OS command "curl" for example:

Curl -i -v -H <XML FILE> -u <PROXY> -X <POST> -d @<PATH> <BACK-END SERVICE URL> -o <PATH>


Connection failed and shows following out put:


Failed response:

<THE COMMAND YOU ENTER>

........

Warning: Couldn't read data from file "
.....
* TCP_NODELAY set
* Connected to <BACK-END HOST> port <PORT NUMBER> (#0)
* schannel: SSL/TLS connection with<BACK-END HOST&PORT> (step 1/3)
* schannel: checking server certificate revocation
* schannel: sending initial handshake data: sending <XX> bytes...
* schannel: sent initial handshake data: sent <XX> bytes
* schannel: SSL/TLS connection with <BACK-END HOST&PORT>  (step 2/3)
* schannel: failed to receive handshake, need more data
* schannel: SSL/TLS connection with <BACK-END HOST&PORT> (step 2/3)
* schannel: encrypted data got <XX>
* schannel: encrypted data buffer: offset <XX> length<XX>
* schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an untrusted authority


  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
* schannel: shutting down SSL/TLS connection with <BACK-END HOST&PORT>
* schannel: clear security context handle
curl: (77) schannel: next InitializeSecurityContext failed:  SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an untrusted authority


Read more...

Product

SAP Intelligent Robotic Process Automation 1.0

Keywords

SEC_E_UNTRUSTED_ROOT, AS ABAP, RPA, Connection error, Curl , KBA , CA-ML-IPA-S4 , RPA bots developed on S/4HANA using IRPA Tool , BC-SEC-SSL , Secure Sockets Layer Protocol , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.