title: ios 7.1 enterprise distribution server's certificates error
body: <p>Since I update to iOS 7.1 I had to start using a secure conexion to be able to download the plist file, I received the following: </p>
  
  <pre><code>    Mar 21 09:08:36 xx-iPad itunesstored[98] &lt;Warning&gt;: Could not load download manifest with underlying error: 
  Error Domain=NSURLErrorDomain Code=-1202 "Cannot connect to the Store" 
  UserInfo=0x16ec5500 {NSLocalizedDescription=Cannot connect to the Store, 
  NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, 
  NSLocalizedFailureReason=A secure connection could not be established.  Please check your Date &amp; Time settings., 
  NSErrorFailingURLStringKey=https://mydomain/myappanme.plist, 
  NSUnderlyingError=0x16dd7fa0 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mydomain.com” which could put your confidential information at risk.", 
  NSURLErrorFailingURLPeerTrustErrorKey=&lt;SecTrustRef: 0x16e04510&gt;, 
  NSErrorFailingURLKey=https://anything/myappanme.plist}
  </code></pre>
  
  <p>My server it is configured like this:
  We've got a wildcard certificate for <code>*.mydomain.com</code>. We moved it to a new server, and the certificate is valid for all browsers that we have tested. (IE, firefox, chrome, safari...). The certificate is the tipical CRT with a bundle/intermediate certificate from GoDaddy and the key. The https site loads without issues. Apache 2.4 and Linux Fedora 20.</p>
  
  <p>The download to install the app is: </p>
  
  <pre><code>itms-services://?action=download-manifest&amp;url=https://mydomain/resources/myappanme.plist
  </code></pre>
  
  <p>Posible duplicated questions (try them all)</p>
  
  <p>-)<a href="https://stackoverflow.com/questions/21197834/the-certificate-for-this-server-is-invalid">The certificate for this server is invalid</a></p>
  
  <p>-)<a href="https://stackoverflow.com/questions/13167915/ios-enterprise-ota-distribution-unable-to-download-application">iOS Enterprise OTA distribution Unable to Download Application</a>
  -)<a href="http://www.nefkens-ict.nl/enterprise-build-does-not-install/" rel="nofollow noreferrer">http://www.nefkens-ict.nl/enterprise-build-does-not-install/</a></p>
  
  <p>Thanks in advance</p>