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"