curl: (60) SSL certificate problem: unable to get local issuer certificate

Jmnote (토론 | 기여)님의 2024년 7월 13일 (토) 01:31 판 (→‎개요)

1 개요

curl: (60) SSL certificate problem: unable to get local issuer certificate

2 사례 1

testuser1@localhost:~$ curl https://localhost:9200
curl: (60) SSL certificate problem: unable to get local issuer 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.
testuser1@localhost:~$ curl -k https://localhost:9200
Unauthorized
# git clone https://mygitserver/hello/world.git
Cloning into 'world'...
fatal: unable to access 'https://mygitserver/hello/world.git/': SSL certificate problem: unable to get local issuer certificate

3 사례 2

$ curl https://135.79.246.80:2376/images/json 
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.

4 조치방법

5 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}