Linux
curl: (60) SSL certificate problem: self signed certificate in certificate chain
올엠
2022. 4. 15. 22:30
반응형
curl로 데이터를 전송하고자 할 때 셀프 사인 인증서(사설)를 사용하는 경우, 아래와 같은 오류가 발생한다.
curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.haxx.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 옵션을 이용하면 해결이 가능하다.
-k옵션 --insecure https 사이트를 SSL certificate 검증없이 연결한다.
반응형