• 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
Web Services Core: any way to use SSL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Web Services Core: any way to use SSL?


  • Subject: Web Services Core: any way to use SSL?
  • From: Ed Baskerville <email@hidden>
  • Date: Sat, 19 Nov 2005 01:11:17 -0800

Hi everyone,

This is my first post to the list. Hopefully this is a question with a simple answer; here goes...

I'm using Web Services Core to make an XML-RPC call using the MetaWeblog API. This is working fine, but the API sends authentication information in cleartext, so I'd like to use SSL (which is set up on the same server at port 443). The WSC documentation claims that both HTTP and HTTPS transport are supported, so I tried simply changing the URL scheme to https.

Doing this breaks things, and I get a result dictionary that looks like this:

{
"/FaultCode" = -65794;
"/FaultExtra" = {domain = 3; error = -9812; msg = "Stream Error"; };
"/FaultString" = "/CFStreamFault";
"/kWSResultIsFault" = 1;
}


I see that domain 3 indicates an SSL problem (as expected), but does anyone know
(a) what error -9812 is, and
(b) if what I'm trying to do is actually possible, or if I need to drop into the CFHTTP layer?


One other piece of possibly relevant information: the server's certificate isn't certified by a real certificate authority like VeriSign--it's acting as its own CA. I tried telling Safari to always trust the certificate in the event that -9812 had something to do with that, and in the event that the network APIs would somehow know about those settings, to no avail.

Thanks much,
Ed

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Web Services Core: any way to use SSL?
      • From: Jeremy Wyld <email@hidden>
  • Prev by Date: Re: SystemConfiguration problem with Proxy
  • Next by Date: Listening, accepting, kqueue, WFT?
  • Previous by thread: Re: SystemConfiguration problem with Proxy
  • Next by thread: Re: Web Services Core: any way to use SSL?
  • Index(es):
    • Date
    • Thread