[JAVA] javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired
자바 APNS(Apple Push Notifications Service) 푸시 연동 코드에서 아래 오류가 발생한 경우
|
com.notnoop.exceptions.NetworkIOException: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired (중략) Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert : certificate_expired |

애플 푸시 인증서가 만료된 경우였다.
맥OS 키체인에서 새로 발급받은(만료가 되지 않은) 푸시 인증서를 .p12 확장자 파일로 내보내기해서 가져왔다.
이후 기존 자바 클래스가 바라보는 .p12파일을 새로 가져온 .p12 파일로 교체해서 해결했다.