"Curl: (60) SSL certificate problem: unable to get local issuer certificate"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:
;<nowiki>curl: (60) SSL certificate problem: unable to get local issuer certificate</nowiki>
;<nowiki>curl: (60) SSL certificate problem: unable to get local issuer certificate</nowiki>


==사례 1==
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
testuser1@localhost:~$ curl https://localhost:9200
testuser1@localhost:~$ curl https://localhost:9200
20번째 줄: 21번째 줄:
Cloning into 'world'...
Cloning into 'world'...
fatal: unable to access 'https://mygitserver/hello/world.git/': SSL certificate problem: unable to get local issuer certificate
fatal: unable to access 'https://mygitserver/hello/world.git/': SSL certificate problem: unable to get local issuer certificate
</syntaxhighlight>
==사례 2==
<syntaxhighlight lang='console'>
$ 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.
</syntaxhighlight>
<syntaxhighlight lang='console'>
$ 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...
</syntaxhighlight>
</syntaxhighlight>



2024년 7월 13일 (토) 01:36 기준 최신판

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 }}