Managing Certification for Push Message
Follow
Firebase ServerKey and SenderID (Android)
To set an Android app for push messages, you need to register a Firebase ServerKey and SenderId in DFINERY Console.
🚩 To do this follow these steps. [Google Firebase HelpCenter]
- Access to Google Firebase Console
- Click the Add Project
- After the project name and info, click Create Project.
- Click the gear icon on the left of the project menu. right next to the Project Overview menu.
- Click the project setting
- Click the Cloud Messaging tab on the project setting page.
- Check the ServerKey and SenderID.
🧐 Cannot find ServerKey and SenderID?
a. Click the options icon in the Cloud Messaging menu and click the [Manage API in Google Cloud Console]
b. Click Enable button to use Cloud Messaging.
After confirming the ServerKey and SenderID, go to Growth Action > Android Push Setting menu in DFINERY Console to register ServerKey and SenderID.
Apple Certification Setting (iOS)
To set push messages in iOS you need to register APNS certification (p12 or p8) in DFNERY Console.
You can use only one Certification between p12 and p8. Each of the certifications has some differences between them. [Apple Developer Guide]
p8 | p12 | |
Expire date | None | One Year |
App | Can be used in all app | Can be used only on App |
To get an APNS certification, you need a subscription plan on Apple Developer and Mac.
🔐 p8 Certification
1. Go to the Apple Developer Console and log in.
2. Go to Certificates, Identifiers & Profiles and click the Keys menu.
3. Click the Create a Key button to get a p8 certification.
4. Set a Key Name and enable the Apple Push notifications service(APNS).
5. Click the Register button to get a p8 certification.
6. Confirm the Key ID
[[인용:경고:보통]] You can download p8 certification only one time. So you have to save p8 certification in safe storage.
🧾 p12 Certification
[[인용:안내:보통]] These are the following steps for getting a p12 certification.
1. Access to a keychain
2. Get a APNS certification.
1. Accessing Keychain
a. Open the Keychain Access app
b. Go to Certificate Assistant > Request a Certificate from a Certificate Authority in the Keychain Access menu.
c. Set an email address and common name and select the Save to Disk menu, then click next.
d. On the save location you can find a file with certSigningRequest.
2. Create p12 certification (iOS Push)
1. Go to the Apple Developer Console and log in.
2. Go to Certificates, Identifiers & Profiles and click the Identifier menu.
c. Click the App id to get p12 certification.
d. Select Push Notification on the Capabilities list, and click the Edit button.
e. Choose Production SSL Certificate and click ‘Create Certificate’.
f. Upoload certSigningRequest file and continue.
g. Download the Certification.
h. Double-click the downloaded file and register in Keychain. Select the keychain and export.
i. Enter the Certification name and select file format(p12), and press enters key without the password.
j. Please check the p12 certification.
After getting p8 / p12 certification, register the certification on Growth Action > iOS Push Setting in DFINERY Console.
Safari Certification (Web Push)
To use Web push in the safari browser, you need to register for p12 certification in DFINERY Console.
To get Safari certification (p.12) you need a subscription plan on Apple Developer and Mac.
[[인용:안내:보통]] These are the following steps for getting a p12 certification.
1. Access to a keychain
2. Get an APNS certification.
1. Accessing Keychain
a. Open the Keychain Access app
b. Go to Certificate Assistant > Request a Certificate from a Certificate Authority in the Keychain Access menu.
c. Set an email address and common name and select the Save to Disk menu, then click next.
d. On the save location you can find a file with certSigningRequest.
2. Create p12 certification (Safari Push)
a. Go to the Apple Developer Console and log in.
b. Go to Certificates, Identifiers & Profiles and click the Identifier menu.
c. Click the "Certificate +" button.
d. Select ‘Website Push ID Certificate’ and ‘Continue’.
e. Create new Certification for Website Push. If you already have certification use it.
f. Upoload certSigningRequest file and continue.
g. Download the Certification.
h. Double-click the downloaded file and register in Keychain. Select the keychain and export.
i. Enter the Certification name and select file format(p12), and press enters key without the password.
j. Please check the p12 certification.
After downloading the APNS certification(p.12), go to Growth Action > Web Setting and register the certification.