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_NewCert.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 certificate set up .

These certificates are already configured in the credentials path.

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

We had earlier raised a similar ticket mentioned below and we were asked not to use test certs. So we have raise CSR and used new certs for testing.

https://developer.apple.com/forums/thread/836652?page=1

Facing issues with response from Fairplay SDK based service
 
 
Q