title: Certificate/SSL pinning with AFNetworking - How to trust all parents certificates if the child is trusted?
body: <p>I want to only trust a specific certificate + all root certificates. For instance:</p>
  
  <pre><code>GeoTrust Global CA               &lt;= Automatically trusted
      Google Internet Authority G2 &lt;= Automatically trusted
          *.google.com             &lt;= Trusted because in a .cer in the app bundle
  </code></pre>
  
  <p>But what happens now with AFNetworking 2.2.1 is this:</p>
  
  <pre><code>GeoTrust Global CA               &lt;= Not trusted because not in the bundle
      Google Internet Authority G2 &lt;= Not trusted because not in the bundle
          *.google.com             &lt;= Trusted because in a .cer in the app bundle
  </code></pre>
  
  <p>How is it possible to accept root certificates as well?</p>