CFHTTPStream and self signed certificates
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