推播.p12憑證匯出

(Certificates, Identifiers & Profiles, p12, APNs, Apple push notifications service)

Apple會透過憑證做管理的動作

如果想要產出.p12的憑證
可以參考本文

*.p12的憑證檔案有效期限只有一年

登入Apple developer網頁

點 Certificates, Identifiers & Profiles

點到Identifiers分頁中,點擊專案

Push Notifications打勾,並按Configure

按Create Certificate 可以產出憑證,提供給推播後台使用

Development SSL Certificate: 開發階段
Production SSL:產品上架階段

*可參考下圖&文章看更多apple ios 環境中的介紹

夾帶CSR檔案,按Continue後

*產出CSR檔案可參考下篇文章

按Download儲存cer檔案

點擊剛剛下載的cer檔案

在鑰匙圈存取中找到此憑證
在外層的憑證按右鍵選 “輸出「Apple Push Services: …」 …”

設定存取的資料夾

設定p12的密碼,可以空白

跳出存取權限,輸入電腦登入的密碼並按永遠允許

成功取得p12檔案

--

--