1. 개요
curl로 셀프 인증서 사용하는 사이트 접속 불가
2. 현상
# curl https://www.abc.com curl: (60) SSL certificate problem: self signed certificate 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.
3. 해결
3-1. -k 옵션
# curl https://www.abc.com -k Test Page
3-2. --insecure 옵션
# curl https://www.abc.com --insecure Test Page