zombie45
zombie's dev story
zombie45

공지사항

  • 분류 전체보기
    • iPhone
    • Study

인기 글

최근 댓글

최근 글

티스토리

반응형

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
  • 글쓰기
전체 방문자
오늘
어제

태그

  • appDelegate
  • CI/CD
  • 안드로이드
  • 오블완
  • android_key_hash
  • l10nization
  • intl
  • UIViewController
  • flutter_localizations
  • 카카오 로그인
  • jks
  • 큰폴더
  • actions
  • caching
  • 큰파일
  • TextInputAction
  • cocoapods-binary-cache
  • 티스토리챌린지
  • textformfield
  • 자동배포
  • Flutter
  • Animtaion
  • Nodejs node express expressjs
  • code spell checker
  • flutter l10n helper
  • cspell
  • cache
  • nextFocus
  • FocusScope
  • Box2d cocos2dx cocos2d-x
hELLO · Designed By 정상우.
zombie45

zombie's dev story

iPhone

AWS SNS iOS push certificate

2016. 7. 28. 10:10

create pem file

download filename.cer from itunes and doubleclick to add to key chain

go to key chain and export Apple Push Services (and key below) to filename.p12

save both as same name


save the macro below as awssnscert

```

FILENAME="$1"

pem=".pem"

p12=".p12"

cer=".cer"

out="_out"

cert="_cert"

key="_key"

openssl x509 -in $FILENAME$cer -inform DER -out $FILENAME$cert$pem

openssl pkcs12 -in $FILENAME$p12 -out $FILENAME$key$pem -nodes -clcerts

```


awssnscert filename


cat aps_staging_prd_key.pem


there are both cert and key inside one file


copy one starting with

-----BEGIN CERTIFICATE-----

paste it into cert in AWS SNS


copy one starting with 

-----BEGIN RSA PRIVATE KEY-----

paste it into key in AWS SNS

반응형

'iPhone' 카테고리의 다른 글

rbenv install stuck at installing openssl  (0) 2020.06.09
iOS10 firebase crashlytics showing NSInternalInconsistencyException  (0) 2020.06.09
ERROR ITMS-90206  (0) 2016.07.02
관심사  (0) 2015.06.13
AppDelegate UIViewController Transition Animation  (0) 2015.05.22
    'iPhone' 카테고리의 다른 글
    • rbenv install stuck at installing openssl
    • iOS10 firebase crashlytics showing NSInternalInconsistencyException
    • ERROR ITMS-90206
    • 관심사
    zombie45
    zombie45
    잡다한 개발

    티스토리툴바