views:

191

answers:

1

I need SSL for encryption not for an authentication, so I don't think I'm going to pay for a certificate.

I use the code below to bypass certificate check for common NSURL request.

@implementation NSURLRequest(DataController)

+ (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
    return YES; // Or whatever logic
}

@end

But it seems this solution doesn't apply to MPMoviePlayer, any idea?

Don't get me wrong, I'm not serving MP4 or TS using SSL, it's just a playlist and key file (m3u8 -- iPhone HTTP Live Streaming)