parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Replace mock Game Center Certificate with updated Digicert certificate URL

Open dblythy opened this issue 2 years ago • 2 comments

New Issue Checklist

Issue Description

Game Center Certificates =< 4 (e.g https://static.gc.apple.com/public-key/gc-prod-4.cer) were signed by Symantec. Apple have been phasing out their support for Symantec issued certs, and they are now completely untrusted. This explains why they are no longer serving https://static.gc.apple.com/public-key/gc-prod-4.cer. Previously, we resolved this issue by mocking the response from the apple server.

The problem here though is that all the existing Game Center test cases use a Symantec issued certificate. Test cases seem to be generated thanks to cloud.xtralife.gamecenterauth, however they haven't updated their code to use a valid Digicert certificate.

Steps to reproduce

Update test cases to use updated Game Center certificate (https://developer.apple.com/forums/thread/686122)

Actual Outcome

Signing failed

Expected Outcome

Tests should be updated with Digicert signed certificate. Test signature, salt and bundle ID will need to be valid in order for the signing to work (hence why we are using cloud.xtralife.gamecenterauth)

Environment

Server

  • Parse Server version: alpha
  • Operating system: macos
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): remote

Logs

dblythy avatar May 11 '22 13:05 dblythy

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

Good investigation!

mtrezza avatar May 12 '22 09:05 mtrezza