There are two ways to support self-signing SSL certificates. Use AFURLConnectionOperation -setAuthenticationAgainstProtectionSpaceBlock:
or simply add #define _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_
Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices