# Invalid APNS certificate. APNs 를 upload 할 수 없습니다

**URL:** <https://community.sendbird.com/t/invalid-apns-certificate-apns-upload/2418>\
**Category:** JavaScript\
**Tags:** push-notification\
**Created:** [June 8, 2021, 3:39am UTC](https://community.sendbird.com/t/invalid-apns-certificate-apns-upload/2418 "2021-06-08T03:39:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyoeun](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hyoeun](https://community.sendbird.com/u/hyoeun)\
**Post date:** [June 8, 2021, 3:39am UTC](https://community.sendbird.com/t/invalid-apns-certificate-apns-upload/2418/1 "2021-06-08T03:39:18Z")

</div>

[Push notifications | Chat iOS SDK | Sendbird Docs](https://sendbird.com/docs/chat/v3/ios/guides/push-notifications) 을 보고 APNs cert 를 다운받고 업로드하려고 하는데

invalid APNS certificate 에러가 뜹니다.

 ![스크린샷 2021-06-08 오후 12.41.07](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/7/725a2eaee4f41b192c225c10032388403265ae68.png)

---

<div class="post-metadata">

**Author:** ![hyoeun](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hyoeun](https://community.sendbird.com/u/hyoeun)\
**Post date:** [June 8, 2021, 4:20am UTC](https://community.sendbird.com/t/invalid-apns-certificate-apns-upload/2418/2 "2021-06-08T04:20:36Z")

</div>

해결되었습니다. APNs 를 export 할때 비밀번호를 설정해서 에러가 났었습니다.

---

<div class="post-metadata">

**Author:** ![pstasiak](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/pstasiak/32/2190_2.png) [@pstasiak](https://community.sendbird.com/u/pstasiak)\
**Post date:** [March 14, 2022, 6:02pm UTC](https://community.sendbird.com/t/invalid-apns-certificate-apns-upload/2418/3 "2022-03-14T18:02:17Z")

</div>

I have a similar problem with uploading .p12 certificates for APN setup. I’m getting “Invalid APNS certificate.” message, no matter if exporting only the certificate or certificate + key pair, with or without password. My certificate is shown in the Keychain app as valid, generated with “Apple Worldwide Developer Relations Intermediate Certificate (G4)”. The Apple certificate was updated on February 1, 2022
