Cannot Connect to Server error installing Enterprise iOS app

Am trying to deploy an Enterprise App to a local server for 'over-the-air' deployment. Have done the following:

Archived the App
Uploaded the .ipa file
Created and uploaded a .plist file
Created a Self-Signed Cert on the IIS server
Created an html page to point to the .plist file

When I browse to the site on my iPhone and click the link to install, I get the error 'Cannot Connect to myServerName'

Here is the mark up for the index.html page:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Internal iOS App distribution</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
    <link href="Content/common.css" rel="stylesheet" />
</head>
<body>
    <form id="form1">
        <div class="padLeft">
            <span Class="text-primary h1">Internal iOS Apps Distribution</span>
            <br />
            <br />
            <span class="text-info h1">
                <a href="itms-services://?action=download-manifest&url=https://<myServer>/TagScanner.plist">Install App</a>
            </span>
        </div>
    </form>
</body>
</html>

Open in new window


And the .plist is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>items</key>
    <array>
        <dict>
            <key>assets</key>
            <array>
                <dict>
                    <key>kind</key>
                    <string>software-package</string>
                    <key>url</key>
                    <string>https://myServer/TagScanner.ipa</string>
                </dict>
                 <!-- full-size-image: the large 512×512 icon used by iTunes. -->
                    <dict>
                        <key>kind</key>
                        <string>full-size-image</string>
                        <key>needs-shine</key>
                        <true/>
                        <key>url</key>
                        <string>https://myServer/Barcodes-icon.png</string>
                    </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.myID.tagscanner</string>
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>Tag Scanner</string></string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

Open in new window


Any help would be much appreciated :)
BrianFordAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KRUNAL TAILORFreelance Mobile DeveloperCommented:
Hi BrianFord,

Have you installed iis on server?

Step 1:
 Construct and configure the server.
             - Install IIS on the server.
             - Copy the app (.ipa) file, the manifest (.plist) file, and the icons to a location on the IIS website that is accessible to the users.
             - Create a page that links to the manifest/plist file.

Here is a sample link:

<a href="itms-services://?action=download-manifest&url=http://example.com/
?manifest.plist">Install App</a>

Open in new window


Step 2:
Set the MIME type of the server, so the server can correctly transfer the manifest/plist file and the application.

For Mac OS X Server, use the Server Admin to add the following MIME types to the Web service's MIME Types settings:

application/octet-stream ipa
text/xml plist
For IIS, use the IIS Manager to add the following MIME types on the server's Properties page:
.ipa application/octet-stream
.plist text/xml

Now your app is ready for installation.

Thanks & Regards,
Krunal T. Tailor
BrianFordAuthor Commented:
I figured it out.  It would not work using a self signed cert. Had to move it to a server that had a valid cert installed and it works fine now

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianFordAuthor Commented:
I figured it out
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
iOS

From novice to tech pro — start learning today.