Heroku somehow lost its GeoTrust Global CA root certificate, which is needed to use push notifications with Apple's servers. I found the certificate here but I'm not sure how to install it in my Heroku application. I tried adding it as an SSL certificate via the application's settings, but it says I need a private key - where would I get that for a root certificate? Or am I supposed to add this somewhere else?
I should specify that my app is a golang app.
We also faced similar problem in our spring boot application which is using dependency of artifact "pushy", groupId "com.eatthepath" with "0.14.2" version for APN push notification and deployed in heroku. And to solve this problem we followed the steps from this link: https://help.heroku.com/447CZS8V/why-is-my-java-app-unable-to-find-a-valid-certification-path and https://devcenter.heroku.com/articles/customizing-the-jdk and then also used the "CaCertUtil" class and "GeoTrust_Global_CA.pem" file and added ".setTrustedServerCertificateChain(CaCertUtil.allCerts());" line while building ApnsClientBuilder.
"CaCertUtil" and "GeoTrust_Global_CA.pem" is taken from this link https://github.com/wultra/powerauth-push-server/commit/71abeb5663201fedf64830fa0ebdf4db6c537e4b.