Facing issues with response from Fairplay SDK based service

Currently we are building a service based on Fairplay SDK version 26.0. Currently our solution is using version 4.5.4.

When we run the below request to get version we get proper response

curl http://xx.xx.xx.xx:8080/fps/v 

Response - V26.0

Our client applications call below two APIs

https://GW_HOST:8080/fairplay_cert
https://GW_HOST:8080/fairplay_license

Within the cert API call, we are returning the fairplay public certificate. Currently we are trying to use the test certificate provided along with Fairplay SDK (test_fps_certificate_v26.bin)

Then within the fairplay_license API call, we are trying to reach fairplay service based on Fairplay SDK v26 We are seeing some issues with below request(attaching the request json payload)

curl -v -X POST \
  -H "Content-Type: application/json" \
  -d @SDKValidation.json \
  http://xx.xx.xx.xx:8080/fps

We are getting below response from SDK

{"fairplay-streaming-response":{"create-ckc":[{"id":1,"status":-42605}]}}

When we checked the apache error logs in the file "/etc/httpd/logs/error_log" we see below error

[DEBUG] ❌ Assertion failure: invalidCertificateErr (-42605) [src/extension.swift:249] 

This is looks to be some error related to certificate.

As mentioned earlier, client application is making a certificate call where we are returning the test certificates provided along with the SDK (test_fps_certificate_v26.bin).

These certificates are already configured in the credentials path.

Also note that the test samples provided with the SDK return valid license response.

Hello, can you please clarify how SDKValidation.json was created, in particular SPC value is the JSON?

Please note that provided test certificate cannot be used on production client devices. It is provided to allow you to test your server implementation with sample JSON files included in the SDK.

we do understand that the test credentials provided along with SDK should not be used in production.

Currently we have used test certificates shipped along with SDK to generate this SPC data.

This is being done as part of POC to test the solution where request is generated in an internal test environment on a ipad.

Facing issues with response from Fairplay SDK based service
 
 
Q