In order to validate a domain na
2016-04-19 本文已影响1020人
ocarol
解决办法:
since you have manager initialized, you can do:
manager.securityPolicy.allowInvalidCertificates = YES;
manager.securityPolicy.validatesDomainName = NO;
and it will work for a self-signed certificate