Hello
We're trying to make a HTTPS request using the RESTCLIENT WebReport tag and we are getting a SSL Error.
SSL Exception: error:80000002:system library::No such file or directory
Environment: Kubernetes containers.
This is the tag:
[LL_WEBREPORT_RESTCLIENT
@host :[LL_REPTAG_$host /]
@Port :[LL_REPTAG_$port /]
@URI :[LL_REPTAG_$uri /]
@METHOD :POST
@secure :TRUE
@CERTPATH :"/opt/opentext/cs/jre/lib/security/cacerts"
@CERTFILE :"/opt/pfa/certs/PFA_Root_CA_01_G1.pem"
@RESPONSE :notificationresponse
@OUTPUT :ASSOC:notificationoutput
@body :[LL_REPTAG_!xmlpayload /]
@CONTENTTYPE :"application/soap+xml" /]
(the editor changed the attribute names to lower case)
The Response and output ASSOCs are:
Response: A<1,?,'error'=0,'message'='SSL Exception: error:80000002:system library::No such file or directory'>
Output: A<1,?,'errorMsg'='No context returned from POST call to Archive/DocumentEvents_notify','success'=false>
I believe we've tried putting the certificate both in and out of the container, tried all combinations of CERTPATH and CERTFILE we can think of, tried putting the certificate into the xECM JRE certificate store. Basically it doesn't seem to matter what we do we get the same response/output. A colleague calling a different service is also seeing the same problem.
We've tried testing it with cURL:
cat req.xml | curl -i -H "Content-Type: application/xml" —cacerts /opt/pathtocert/cert.pem -X POST -d @- <url>
and that looks like it gets through just fine.
I have run out of ideas! Anyone used this tag with certificates?
Thank you for reading.