Exporting .p12 APNS(Apple Push Notification Service) file for AWS SNS Notification
The help link in SNS to AWS Document is useless they only provide how to create cem, pem file which they don’t use
Step-by-step guide
Getting the p12 file for update
- Create Apple Push Services Certificate from apple.
- Download and install Certificate.
- From KeyChainAccess.App export Apple Push Services to cert.p12 and owner of this cert to key.p12
- Open terminal
openssl pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12
openssl pkcs12 -nocerts -out key.pem -in key.p12
openssl pkcs12 -export -inkey key.pem -in cert.pem -out final.p12 - Navigate to https://console.aws.amazon.com Simple Notification Service → Application → Awair_iOS_pro
- Edit → Update Certificate
- upload final.p12 and put in password
반응형
'iPhone' 카테고리의 다른 글
cocoapods-rome does not specify a Swift version and none of the targets (0) | 2020.11.11 |
---|---|
Swift Lint yml (0) | 2020.07.26 |
Safe area / layout by code for iPhone X, XS, XR, XS Max (0) | 2020.06.10 |
Underline text / title in UIButton (0) | 2020.06.10 |
rbenv install stuck at installing openssl (0) | 2020.06.09 |