Deployment of iOS applications in Tomcat release

Source: Internet
Author: User
Tags ssl certificate
1. Generate CA.CRT, SERVER.P12, Server.jks certificate Files 2. In Tomcat Conf\server.xml configuration
    <connector port= "8443" protocol= "Org.apache.coyote.http11.Http11NioProtocol" "maxthreads="
        True ' scheme= ' https ' secure= ' true '
        clientauth= ' false ' sslprotocol= ' TLS ' 
        keystorefile= ' d:/ APACHE-TOMCAT-8.0.35-WINDOWS-X64/WEBAPPS/ROOT/CA/SERVER.P12 "  
        keystorepass=" 123456 "  keystoreType=" PKCS12 "
        truststorefile=" D:/apache-tomcat-8.0.35-windows-x64/webapps/root/ca/server.jks "  
        TruststorePass = "123456" truststoretype= "JKS"/>

Where Keystorefile is the SERVER.P12 path, Keystorepass is the SERVER.P12 password, the default is ==123456== ; Truststorefile.jks path, Truststorepass is SERVER.P12 password, default is ==123456==
You can test your configuration for success by https://XXXX:8443 3. Put the iOS installer package resource in a directory on the server


- Aqgk_1.0.ipa is an iOS application installation package .
- CA.CRT is the client installation certificate, before downloading IPA must first install the certificate .
- Icon.png is the application icon .
- index.html is the installation certificate and download installation package Web page. Need to modify 2 addresses

<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >

= = Here you should note that the download path is correct. = = P2_local.plist is installation package installation configuration, need to modify IPA download address and icon download address

<?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>http://192.168.60.242:8080/iOS_download/aqgk_1.0.ipa</string> </dict> <dict> <key>kind</key> <string>display-image</st ring> <key>needs-shine</key> <true/> <key >url</key> <string>http://192.168.60.242:8080/ios_download/icon.png</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> &LT;STRING&GT;CN.COM.UT.FDTAB1A.MAPP&L
               T;/string> <key>bundle-version</key> <string>1.0</string> <key>kind</key> <string>software</string> <key>subtitl
               e</key> <string>app subtitle</string> <key>title</key> <string>app title</string> </dict> </dict> </array> &LT;/DICT&G
T </plist>
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.