为什么要搭建签名服务器吗?
因为应用不能上架App Store , 使用企业签名频繁掉签造成客户流失,产品运营商在产品运营过程当中对于客户运营成本增加,而现在企业签名再市场上的留存时间在频繁掉签的时候,基本上很难坚持一个星期不掉签,所导致运营商要替代苹果企业签名的使用,使用签名更加稳定的签名超级签。

ios安装的app有几种方式吗?
1、App Store 安装
2、企业签名安装,
3、搭建个人签名服务器安装
4、TF签名(Test Flight)苹果官方的内测
ios个人签名搭建服务优势
1、不掉签
2、用户可以直接安装不需要信任,但第一次需要安装 .mobileconfig文件
3、体验好,不容易流失用户
ios 超签劣势
一个证书只能安装100个,也就是需要大量的证书才能做起来,成本太高。
下面小编重点讲解一下超级签实现原理可以分如下几个步骤
1、用户请求服务器安装mobileconfig文件,服务器获取到用户udid
2、服务器调用苹果接口添加udid
3、服务器调用苹果接口获取 mobileprovision 文件
4、服务器使用 mobileprovision 文件进行对 ipa 重签
5、服务器返回重签后的 ipa
服务器生成mobileconfig文件
钥匙串中导出这 AppleWorldwideDeveloperRelationsCertificationAuthority 证书
AppleWorldwideDeveloperRelationsCertificationAuthority.cer 转 pem
openssl x509 -inform DER -outform PEM -in dev.cer -out dev.crt.pem
导出发布证书
p12 转 pem,在线转
https://www.sslshopper.com/ssl-converter.html
签名mobileconfig文件
openssl smime -sign -in test_sgin.mobileconfig -out SignedVerifyExample.mobileconfig -signer zhengshupem.pem -certfile dev.crt.pem -outform der -nodetach
test_sgin.mobileconfig 内容
参考:https://dwz.cn/2Xhp13uZ
<?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>PayloadContent</key>
<dict>
<key>URL</key>
<string>https://192.168.1.16:8443/SignServlet</string> <!--接收数据的接口地址-->
<key>DeviceAttributes</key>
<array>
<string>UDID</string>
<string>IMEI</string>
<string>ICCID</string>
<string>VERSION</string>
<string>PRODUCT</string>
</array>
</dict>
<key>PayloadOrganization</key>
<string>LINKKT</string> <!--组织名称-->
<key>PayloadDisplayName</key>
<string>App Installation Assistant</string> <!--安装时显示的标题-->
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadUUID</key>
<string>app.vena.pi.push</string> <!--自己随机填写的唯一字符串-->
<key>PayloadIdentifier</key>
<string>app.vena.pi.profile-service</string>
<key>PayloadDescription</key>
<string>LINKKT Installation Assistant</string> <!--描述-->
<key>PayloadType</key>
<string>Profile Service</string>
</dict>
</plist>
调用苹果服务器省略;
大家还是有不明白的同学可以联系客服,或查看IOS App 签名机制及原理这篇文章。