I am using a standard PHP script to send a push notification using a JSON web token (JWT). This works perfectly from the MacOS command line.
But the same setup will not go through to the sandbox from a website on cPanel using PHP 8.3.
The error is: Curl failed: Private key does not match the certificate public key
There are no errors in the error logs.
Any ideas?