• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XML-RPC problems with SSL sites
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML-RPC problems with SSL sites


  • Subject: XML-RPC problems with SSL sites
  • From: Christian Aust <email@hidden>
  • Date: Fri, 28 Mar 2008 13:34:38 +0100

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
tell application "https://user:email@hidden:443/RPC2"
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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: bring app to front at any time
  • Next by Date: bring app to the frong at any time ?
  • Previous by thread: Re: bring app to front at any time
  • Next by thread: bring app to the frong at any time ?
  • Index(es):
    • Date
    • Thread