
상황 ) Mac Ventura 13.0 업데이트 후 갑자기 서버와의 연결이 원활하지 않다는 메시지가 나오며 위 에러가 발생하였습니다.
포스트맨으로 API 요청이 성공하는 것을 보면 업데이트 후에 발생한 문제인 건가 불안이... ㅠㅠㅠㅠ
하지만 테스트중인 클라이언트 분들쪽에서도 같은 현상이 나온다고 해서 헷갈렸습니다.
서버 개발자께서는 인증서 Key, Pem에 인증 문제로 추정해주셨고 맥북업데이트 문제가 아니구나 하고 안도했습니다 ㅎㅎㅎㅎㅎㅎㅎㅎ.
SSL이란?? --- 곧 알아볼 예정...
- 이슈사항 : API 서버 통신 불가
- 원인 :
1. 갑작스러운(우린 몰랐음) 네임서버 변경으로 인한 SSL 인증 불가
2. AWS 인스턴스와 도메인 연결 안됨
- 해결방안 :
1. AWS 인스턴스 (API 서버)에 IP 주소로 직접 접속 (HTTPS 적용 불가, DNS 적용 불가)
2. api.xxxxx.xxxx 과 같은 API 서브 도메인 추가 (고객사 수행, cafe24 DNS 관리툴에서 설정)
3. api.xxxx.xxxx 에 SSL 발급 (고객사 수행)
고객사측과 다시 협의 필요.
네임 서버는 변경 시 하루에서 최대 이틀 정도의 시간이 소요된 후에 SSL 재발급이 가능하므로 참고
그랬을때도 계속 안되면 ssl 검증을 끄는 설정들이 있는것으로 보이는데 아래 링크 참고해서 해결
위에 재발급통해서 재인증하게되면, 아마 이 방법까지 사용하실일은 없을것,...
https://nhj12311.tistory.com/592
node.js : self signed certificate in certificate chain 해결방법
Node.js에서 모듈 설치 시에 다음과 같은 "self signed certificate in certificate chain" 에러를 만나게 되었을 때 아래 명령어로 해결 가능하다. $ set NODE_TLS_REJECT_UNAUTHORIZED=0 $ set npm_config_stric..
nhj12311.tistory.com
혼자 추측했던 꽝 원인 케이스
1. 시뮬레이터의 시간 불일치????
2. 맥북 업데이트 때문인가...???
https://stackoverflow.com/questions/56108914/swift-the-certificate-for-this-server-is-invalid
Swift - The certificate for this server is invalid
How can I fix this on iOS using Swift? When I'm making a server request I get the following error: The certificate for this server is invalid. You might be connecting to a server that is pretend...
stackoverflow.com
https://developer.apple.com/forums/thread/655074
iOS 14 TLS/SSL certificate invalid… | Apple Developer Forums
I've just run into same issue, I've run some tests and it looks like after upgrade to iOS 14 both Safari and Chrome browsers does not support SNI anymore. I have a server with nginx and some virtual hosts on it and using different SSL certificates. Everyth
developer.apple.com
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=lys1900&logNo=220994152275
[ iOS - error ] https 통신시 SSL 에러 - ErrorDomain
[ iOS - error ] https 통신시 SSL 에러 - ErrorDomain엊그제 오랜만에 iOS 앱의 업데이트 요청이...
blog.naver.com
댓글