AWS SNS의 iOS용 Push 알림(APNs) 인증서를 업데이트하려면
애플 디벨로퍼 발매cer
로그인Apple Developer Program.
왼쪽 메뉴의 "Celtificates, Identifiers & Profiiles"를 클릭합니다.

오른쪽 위에 있는 + 버튼을 클릭합니다.

Production→Apple Push Service SSL(Sandbox & Production)을 선택합니다.

Push 알림을 보낼 App ID를 선택합니다.

CSR을 만들라는 요청을 받았기 때문에 말한 대로 CSR 파일을 만듭니다.

Mac에서 키 체인 액세스 적용을 시작합니다.
키체인 접근 - 인증서 보조 - 인증서에 인증서 요청...

사용자의 메일 주소와 통칭에 무엇을 넣습니까?속칭 영어라면 문제가 생기기 어렵다.
디스크에 저장 을 선택합니다.
'키 쌍 정보 지정' 을 확인하지 않습니다.
그리고 "계속"

CSR이 생성되었습니다!

Apple Developer로 돌아가서 방금 만든 CSR 파일을 업로드합니다.

그리하여cer 파일을 만들었어요!그래서 다운로드.

.p12 파일 제작
다운로드 받았어요.cer 파일을 두 번 클릭합니다.
그래서 방금 CSR을 만들 때 넣은 통칭 열쇠와 인증서를 맞추는 '키 체인 접근' 프로그램을 시작했습니다.

인증서를 마우스 오른쪽 버튼으로 클릭하고 마우스 오른쪽 버튼 클릭 메뉴에서 쓰기 Apple Push Services: hogefuga...을 선택합니다.

p12이기 때문에 직접 저장합니다.
참고로 파일 이름을 영어로 바꾸지 않으면 나중에 오류가 발생할 수 있습니다.

저장할 때 비밀번호를 묻기 때문에 적당히 설정한다.
적당하다고 해서 정말 적절하게 설정하고 잊어버릴 수는 없다.

AWS SNS 설정 업데이트
AWS 관리 화면으로 이동하여 Simple Notification 서비스로 이동합니다.
왼쪽 메뉴에서 Application으로 마이그레이션합니다.

오른쪽 칸에서 대상이 된 ARN을 클릭하세요.

plateform applications actions→Update credentials를 선택합니다.

방금 생성된파일과 파일.파일을 생성할 때 사용할 암호를 입력합니다.
여기 있습니다.서류가 영어가 아니거나 통칭이 영어가 아니라면 수수께끼 같은 오류가 발생할 때가 있어 다시 만들어야 한다.

테스트
의 snsmobilepush입니다.zip을 다운로드하고 압축을 풀다.
더블 클릭
AppleMobilePushApp/iOS 8/AmazonMobilePush.xcodeproj
으로 엽니다.경고를 보내지만 열다.
여기.
General 태그의 Identity→Bundle Identifier를 발행 인증서의 App ID로 변경합니다.

Signing과 함께 변경합니다.여기는 "!"표시가 있으면 안 됩니다.
Capabilities 태그에서 Push Notifications를 엽니다.
적당한 테스트 등록된 터미널에 설치하여 시작합니다.
그래서
Device Token = <examp1e 29z6j5c4 df46f809 505189c4 c83fjcgf 7f6257e9 8542d2jt 3395kj73>
라는 일지가 나왔다.AWS SNS에 장치 토큰을 등록합니다.
Create platform endpoint→Manully add a single token에 방금 장치 토큰을 입력한 다음 "Addendpoint"를 입력합니다.


그런 다음 Filter를 사용하여 Publish to endpoint를 읽어들입니다.

"Message format"을 "JSON"으로 설정하고 "JSON message generator"를 클릭합니다.
그러자 이런 느낌의 화면이 나왔고 테스트 메시지인'Generate JSON'을 넣었다.여기는 일본어 OK.

이렇게 된 느낌 때문에 오른쪽 아래쪽'Publish message'에서 합니다.

그래서 테스트 단말기의 테스트 응용 프로그램이 Push 알림을 받았다.
감상
좀 단순한 것 같지만 그런 일은 없고...
Reference
이 문제에 관하여(AWS SNS의 iOS용 Push 알림(APNs) 인증서를 업데이트하려면), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/b_a_a_d_o/items/e3bf9cd52b6cd9252088텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)