Finb / bark-server

Backend of Bark
https://bark.day.app
MIT License
2.56k stars 408 forks source link

api.push.apple.com有CA需要添加 #281

Closed RuotongX closed 3 weeks ago

RuotongX commented 2 months ago

目前我有着和 #47 一样的问题。SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. 我按照相同做法获得了以下日志。 root@iStoreOS:~# curl http://0.0.0.0:8080/GBLZ3teVQDi3q3JhQDTtXC/这里改成你自己的推送内容 {"code":500,"message":"push failed: Post \"https://api.push.apple.com/3/device/{MyDeviceToken}\": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match api.push.apple.com","timestamp":1720965593}

root@iStoreOS:~# curl -kiv https://api.push.apple.com/3/device/162e7d2b3b2f4508222883b8ff0ae7ba689e1d1d5d684051c150a785ff6b7846%5C

<