Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

IOS Certificate PEM File for Adobe Campaign Standard Mobile App

robayzma
Level 4
Level 4

Hi All,


We are trying to make Push work for an IOS app and need a little information.

I am looking for the documentation regarding the instructions on how to create the IOS Certificate (PEM) file for Adobe Campaign Standard? 

 

I seem to recall that both the prod and sandbox certificate has to be in one file that is uploaded but can't remember much else.

 

Kind regards 
 Robert

1 Accepted Solution
Ryan_Morales
Correct answer by
Employee
Employee

Hi Robert,

 

You first have to follow the steps mentioned at https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/... to create an APNS certificate. Once downloaded, the certificate will have a ".cer" extension. Add the certificate to your keychain then follow the steps mentioned in https://developer.apple.com/library/archive/technotes/tn2326/_index.html#//apple_ref/doc/uid/DTS4001... to create a ".pem" certificate. The specific conversion steps can be see in the section titled "D. Convert If Necessary". Please let me know if you have any additional questions.

 

Thanks,

Ryan Morales

Mobile Engineer

Adobe Experience Cloud

 

View solution in original post

0 Replies
Ryan_Morales
Correct answer by
Employee
Employee

Hi Robert,

 

You first have to follow the steps mentioned at https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/... to create an APNS certificate. Once downloaded, the certificate will have a ".cer" extension. Add the certificate to your keychain then follow the steps mentioned in https://developer.apple.com/library/archive/technotes/tn2326/_index.html#//apple_ref/doc/uid/DTS4001... to create a ".pem" certificate. The specific conversion steps can be see in the section titled "D. Convert If Necessary". Please let me know if you have any additional questions.

 

Thanks,

Ryan Morales

Mobile Engineer

Adobe Experience Cloud

 

View solution in original post

robayzma
Level 4
Level 4
Hi @Ryan_Morales, Thank you so much for the answer, we actually managed to figure it out by following these 2 links: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/... As you can see it's the same as the one you mentioned And then this link: https://stackoverflow.com/questions/21250510/generate-pem-file-used-to-set-up-apple-push-notificatio... I managed to do it on a Windows machine using openssl, instead of Keychain on iOS. Anyway we got it to work. -Robert