• 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
CFHTTPStream and self signed certificates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFHTTPStream and self signed certificates


  • Subject: CFHTTPStream and self signed certificates
  • From: Frederick Cheung <email@hidden>
  • Date: Thu, 13 Jan 2005 15:01:28 +0000

My app uses CFHTTPStream, and it works fine, for both http and https except in the case of self signed certificates.
What I want to do is what browsers usually do and warn the user that the certificate is self signed (or whatever the problem with the certificate is) but give them the option to continue, possibly optionally remembering that this particular self signed certificate is ok.
Back when I did all my http stuff myself and use Security/SecureTransport.h myself to do the ssl part of the business this was dead easy, but I can't figure out how to do this with CFHTTPStream and I invariably get a kCFStreamErrorDomainSSL/errSSLNoRootCert error in my stream callback.


Any idea on how to handle this?

Fred

_______________________________________________
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


  • Prev by Date: Proxy User/Password *required* setting? Where is it?
  • Next by Date: Re: Mail Settings
  • Previous by thread: Proxy User/Password *required* setting? Where is it?
  • Next by thread: Re: Mail Settings
  • Index(es):
    • Date
    • Thread