1 개요[ | ]
- curl: (60) SSL certificate problem: unable to get local issuer certificate
2 사례 1[ | ]
Console
Copy
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.
Console
Copy
testuser1@localhost:~$ curl -k https://localhost:9200
Unauthorized
Console
Copy
# 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[ | ]
Console
Copy
$ 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.
Console
Copy
$ 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 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.