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> <STRING>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> </DICT&G
T </plist>