Hi all,
I'm trying to use Applescript on OSX 10.5.2 (Intel) to perform some XML-RPC calls. The site is using SSL, Safari can open the site without problems. However, using it with Applescript throws "transport error -916".
set client_version to "1.0" set client_name to "OSX PDF workflow" set vendor to "Christian Aust, software-consultant.net"
try return call xmlrpc {method name:"samurai.ClientIdentify", parameters:{|ClientName|:client_name, |ClientVersion|:client_version, |ClientVendor|:vendor}} end tell on error errMsg number errNum log errMsg log errNum end try
(If it gives you error 403 "Authentication required" that means that it worked as far as SSL is concerned.) Also, trying to access it with the OpenSSL command line client doesn't work:
% openssl s_client -connect samurai.sipgate.net:443 read:errno=0 [closes the connection]
Again: It works using Safari, and it does work on other platforms. People suggested that it might be something with CA certificates not available to Applescript, but I'm not aware of where AS eventually looks for certificates and what requirements are there actually. Any idea how I could work around that issue? Kind regards,
Christian Aust |