반응형

SSL certificate problem: unable to get local issuer certificate 발생 원인
오류는 SSL/TLS 연결을 시도할 때 발생하는 문제입니다. 이 문제는 보통 서버 또는 클라이언트 측에서 SSL 인증서를 올바르게 인식하지 못할 때 발생합니다. 문제를 해결하기 위해 몇 가지 방법을 시도할 수 있습니다
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
로컬 테스트시 발생했다면..
검증을 하지 않는 옵션인 -k(--insecure) 을 추가해서 curl 을 실행합니다.
curl -k -L google.com
curl --insecure -L google.com
참고 : -l(--location) 옵션은 리다이렉트 되더라도 curl 을 실행하는 옵션
이외에도 인증기관 목록 추가하기, CA 인증서 파일 갱신을 시도해 볼 수 있습니다. 아래 문서를 참고하여 주세요.
감사합니다!
반응형
'개발 > IT 기타' 카테고리의 다른 글
무료 더미 이미지 생성 사이트 추천 (0) | 2024.02.29 |
---|---|
JPA - No EntityManager with actual transaction available for current thread (0) | 2024.02.23 |
오픈소스 ftp Cyberduck (0) | 2024.02.14 |
git 의 .gitignore가 작동하지 않을때 해결방법 (0) | 2024.02.14 |
JSON 비교 1등 웹 사이트 - jsondiff.com (0) | 2024.02.14 |