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

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.
$ curl https://49.247.171.74:2376/images/json \
>   --cert ~/.docker/cert.pem \
>   --key ~/.docker/key.pem \
>   --cacert ~/.docker/ca.pem
[{"Containers":-1,"Created":1718914618,"Id":"sha256:a606584aa9aa875552092...

4 조치방법[ | ]

5 같이 보기[ | ]

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