有几项需要处理

SignBox v1.0.0 · PHP 8.2.34 · fpm-fcgi

✓
PHP 版本
8.2.34
建议 PHP 7.4+,8.x 最佳
✓
openssl 扩展
已启用
描述文件签名必需
✓
PHP 签名函数
pkcs7/cms 可用
至少需要 openssl_pkcs7_sign 或 openssl_cms_sign
!
openssl 命令行
不可用(不影响,但推荐)
有 CLI 时会走线上验证过的签名路径,摘要固定 SHA-256
✓
curl 扩展
已启用
调用上游签发接口
✓
CA 根证书
/www/wwwroot/cha112.com/certs/cacert.pem
上游 HTTPS 校验用
✓
zip 扩展
已启用
未启用时用内置 ZIP 写包,上传代签读 Info.plist 会受限
✓
站点 HTTPS
https://cha112.com
iOS 在 HTTP 下不会回调 UDID,必须 HTTPS
✓
storage 可写
/www/wwwroot/cha112.com/storage
chmod -R 775 storage(属主与 PHP 进程一致)
✓
数据库连接
mysql · 127.0.0.1:3306 / cha112_com
✓
数据表
已建表
✓
后台管理员
1 个
✓
安装标记
v1.0.0 · 2026-10-24 00:57
storage/installed.json
✓
public_url 配置
https://cha112.com
回调必须绝对地址,生产环境建议写死
×
描述文件签名证书
不可用
没有可用的签名证书:cert.pem / key.pem 不存在;尚未缓存上游证书;向上游领取签名证书失败:daidou:请输入有效卡密;ianhe:请输入有效卡密;xts1:请输入有效卡密

上游连通性

失败:daidou:请输入有效卡密;ianhe:请输入有效卡密;xts1:请输入有效卡密

[
    {
        "id": 1,
        "site": "daidou",
        "host": "appstore.11wink.cn",
        "code": 0,
        "msg": "请输入有效卡密",
        "ms": 1032
    },
    {
        "id": 2,
        "site": "ianhe",
        "host": "appstore.11wink.cn",
        "code": 0,
        "msg": "请输入有效卡密",
        "ms": 248
    },
    {
        "id": 3,
        "site": "xts1",
        "host": "appstore.11wink.cn",
        "code": 0,
        "msg": "请输入有效卡密",
        "ms": 234
    }
]

部署清单

  1. 把站点跑在 HTTPS 上,并在 lib/config.php 里写死 public_url。
  2. 证书二选一:放 certs/apple.p12(配 p12_password),或什么都不放——系统会向上游领取一张 Apple 签发的证书做描述文件 CMS 签名。
  3. 确认 certs/wwdrg3.pem 存在(仓库已自带 Apple WWDR G3)。
  4. 给 storage/ 写权限,但不要让 Web 直接访问它(仓库自带 .htaccess 拒绝规则)。
  5. 装好 openssl 命令行效果最好;没有也能用 PHP 扩展签。
  6. 想开启「上传 IPA 代签」,在服务器上装 zsign 并配置 zsign.path。