I’d like to apologize for erronously calling this thread “Where to find IW SSL certs” as when I started writing it I actually started looking for them. By the half of the writing, I found them and exported on my workstation, but the problem persists.
I’ve got a problem with some of the Perl scripts I wrote for interfacing with InterWorx API.
Whenever I execute them on the server that hosts the InterWorx I’m talking to, there is no error whatsoever. On my work computer I get the following error:
Can’t locate object method “value” via package “RPC::XML::Client::send_request: HTTP server error: Can’t connect to A.B.C.D:2443 (certificate verify failed)” (perhaps you forgot to load “RPC::XML::Client::send_request: HTTP server error: Can’t connect to A.B.C.D:2443 (certificate verify failed)”?) at ./ls_mailq.pl line 99.
The IP is obviously not A.B.C.D I tried to disable SSL authentication in the script and that would still not work.
So, I imagine I need to copy over the certs from IW server to my workstation. I copied iworx.crt over to my /etc/ssl and I still get the same exact error message except the line number is 90.
Here is the code: https://gist.github.com/grepwood/126298cf11401779effa/5a8fd1973fc4c0afb9bd65bf976991a58ccbd493 (now accepts API key :))
So, can someone please tell me where to put those certs?