Apple Push Notification – 개발 등록과 인증서 발급

CSR 을 만들어서 인증을 받아야 하므로, Keychain Access 를 실행하고 Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority With “사용자계정이름”… 을 선택
이메일 주소와 이름을 입력하고 Save to Disk 선택 > 저장할 위치를 선택하고 저장

iOS Provisioning Portal > App IDs 에서 Apple Push Notification Service 를 활성화 > CSR 파일을 요구하면 윗 단계에서 만든 CSR 파일 선택 > APNS 가 활성화 되며 인증 파일을 Download 받을 수 있게 활성화 되는데 인증파일 다운로드 > 설치

Keychain Access 에 아래와 같이 등록됨

Apple Development iOS Push Service Certificate 에서 오른쪽 버튼 클릭 > Export > apns-dev-cert.p12 로 저장
아래 key 파일도 위와 같은 방식으로 Export > apns-dev-key.p12 로 저장

터미널을 열고 pem 으로 Convert

push 발송을 할 때 마다 비밀번호 입력이 귀찮다면

처럼 추가로 만들어 주고, cert 과 key 파일을 합침

실제 배포용 인증서도 위와 같은 방식으로 만들면 됨.

One Reply to “Apple Push Notification – 개발 등록과 인증서 발급

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.