POST /check-cert
验证签名证书的有效性和 OCSP 吊销状态。支持两种模式:上传 P12 文件,或按序列号检查。
请求(multipart/form-data)
method string 检查模式:
"p12"(默认)或 "serial"
p12* file P12 证书文件(.p12 / .pfx)— p12 模式必填
provision file 用于兼容性检查的描述文件(.mobileprovision)
password string P12 密码(如有保护)
serial string 证书序列号(用于 serial 模式)
serialType string
"decimal"(默认)或 "hex"
响应
{ "success": true, "certificate": { "valid": true, "message": "Certificate is valid and ready for signing", "subject": "Apple Development: John Doe (XXXXXXXXXX)", "issuer": "Apple Worldwide Developer Relations CA", "serialNumber": "123456789", "serialNumberHex": "0x75bcd15", "notBefore": "2024-01-15", "notAfter": "2025-01-14", "expired": false, "revoked": false, "ocspStatus": "good", "matchesProvision": true }, "provision": { "name": "My Profile", "appId": "com.example.app", "teamId": "ABC123XYZ", "teamName": "My Team", "expiration": "2025-01-14", "expired": false, "uuid": "550e8400-e29b-41d4-a716-446655440000" } }
请求示例
curl -X POST \ https://flarestore.app/check-cert \ -F "[email protected]" \ -F "[email protected]" \ -F "password=your_password"