Below are the steps you can follow to create .pem for Pushkit:
Step 1: Login into your developer's account – https://developer.apple.com/account/
You will be redirected to the following screen, Click on “Certificates, Identifiers & Profiles”.
Step 2: Click “+” button
Step 2: Select VoIP services certificate, and click continue
Step 3: Select your bundle ID and click Continue
Step 4: Follow these steps to create a CSR file
Step 5: Upload your CSR file and click continue
Step 6: Download your certificate VoIP
Step 7: Double click in your certificate VoIP
After downloading the certificate, you can double click the certificate and click “Add” button
Step 8: Export your certificate VoIP to .p12
You can export the certificate in keychain by doing right click in the cert, and click Export:
Select the file format to Personal Information Exchange (.p12) and click Save
You have the image shown below, you can fill or without password
Step 9: Open “Terminal” on your Mac, and run the following commands
cd Document // Depend on where you save p.12openssl pkcs12
-sampleCore
.p12
-
out sampleCore.pem
-
nodes
-
clcerts
Yey!! your cert .pem is ready. For the final step, you need to upload your cert in Qiscus Chat Dashboard
Step 10: Upload cert in Qiscus Chat Dashboard
Open Qiscus Chat Dashboard. Then
- In the Push Notification Certificates section, click +Add to add your cert
- Choose the Certificate type
- Click Save changes
**Note**
"When you are using Pushkit, you need to use audio call or video call"