mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-26 22:25:53 +03:00
[GH-ISSUE #281] api.push.apple.com有CA需要添加 #113
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RuotongX on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/Finb/bark-server/issues/281
目前我有着和 #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
< HTTP/2 405
HTTP/2 405
< apns-id: AEBE28E7-6A4A-8036-04AD-DAA433C53B02
apns-id: AEBE28E7-6A4A-8036-04AD-DAA433C53B02
<
{"reason":"MethodNotAllowed"}