develog

[bash] curl: (60) SSL certificate problem: unable to get local issuer certificate 본문

카테고리 없음

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

냐옴 2024. 4. 16. 16:50

curl 로 접속시 오류가 발생

$ curl -X POST https://mydomain.com/projects/add/slide/ppt/scripts
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.

 

--insecure 옵션을 추가해서 실행한다

$ curl -X POST --insecure https://mydomain.com/projects/add/slide/ppt/scripts

 

Comments