IOS App Enterprise Internal release and HTTPS server configuration

Source: Internet
Author: User
Tags free ssl free ssl certificate ssl certificate

iOS Enterprise internal release and HTTPS server configuration

One: the required conditions

1. Apple Developer Certificate, Enterprise Edition 299$ version

2. SSL certificate, which is the server certificate used by HTTPS

3. Web server, HTTPS enabled

4. A domain name, can be a subdomain, bind SSL certificate and HTTPS server

Two: Approximate process

Request a free or paid SSL certificate-----Configure HTTPS Web server------Publish Enterprise iOS app-----Configure safari Installation

1:SSL certificate, due to Apple's recent new requirements, the previous release of the use of the HTTP method has been exhausted, now must use HTTPS, so we need SSL certificate, and SSL certificate is generally issued by CA institutions, many large CA institutions on the Internet, the majority of fees, But there is also a free SSL certificate, here, I use a free SSL certificate, valid for 1 years, on the browser, you can see the SSL certificate is green, authenticated

Free SSL Application www#wo#sign#com get rid of # #, you know

Only support a domain name, can be a sub-domain name, such as Ssl.abc.com, in the application of the certificate binding, will verify the domain name, verify your ownership of the domain name;

After the successful application, the CA will give you an SSL certificate of the compressed package, named after you bind the domain name, the compressed package is extracted after the various Web server HTTPS certificate, such as Apache,iis,ngnix,tomcat

2: Configure HTTPS Web server

Thank friends for providing me with the test VPS

I'm using Ubuntu12 here, apache2.

First do domain name resolution, and SSL certificate binding domain name ssl.abc.com A record point to the server address, server bound domain name

Upload Forapache.zip inside the certificate to the server

Configure the SSL configuration file for Apache2/etc/apache2/sites-available/default-ssl

51 Lines, 52 lines,, upload the corresponding certificate to the specified directory, and add to the configuration file, for the APACHE2 server plus SSL certificate

Then, start the Apache2 SSL feature, module, and restart the APACHE2 server to test if HTTPS access is normal

A2ensite Default-ssl

A2enmod SSL

Apache2 Restart

For the Ubuntu server apache2 SSL service configuration, you can refer to: http://www.server-world.info/en/note?os=Ubuntu_14.04&p=httpd&f=7

3. Package an iOS app with enterprise certificates

How to use Enterprise Certificate packaging, you can refer to http://blog.csdn.net/mergerly/article/details/17352735

I'm only here to explain that the latter part of the package release, about the part of the enterprise distribution, distribution the Save for enterprise in the final package.

Note Fill in the URL, must be your HTTPS server directory, the above save will be generated on the desktop two files, an IPA, a plist file;

And then put the IPA and plist files to the HTTPS server in the specified directory, I put the root directory, so the URL to fill in such as;

For example, my URL and server address Https://teso.cocoajin.org/Testapp.ipa;

Then, to create a new, access to the installation page test.html, also put test.html to the HTTPS website root directory, you can use the mobile phone Safari browser, access to https://teso.cocoajin.org/test.html installation

The point is this sentence

Point to your HTTPS server root directory under the Testapp.plist file, the phone accesses it, it goes to the specified directory under the Testapp.ipa, and then according to the protocol signing rules on the phone to download the installation Testapp

Note: If your phone test access test.html can not be installed, in the server mime.types inside, add a

Application/octet-stream IPA
Text/xml plist

Mime.types file directory for Linux under/etc/mime.types

Window Server Apache/conf/myme.types

4. After the above configuration is complete,

Open https://teso.cocoajin.org/test.html with the iphone Safari browser, which is the Access installation page you specified, then inside the phone, click Install, and then, open,

If your phone first installs an enterprise certificate issued by the app, you will be prompted to trust the certificate, you can;

Individual test pages and servers may stop later, please review the process and build your own enterprise publishing platform

Reference: http://www.blogjava.net/xiaomage234/archive/2014/06/26/415163.html

IOS App Enterprise Internal release and HTTPS server configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.