https, SSL 통신 오류 – curl: (60) SSL certificate problem: unable to get local issuer certificate / UNABLE_TO_VERIFY_LEAF_SIGNATURE

https, SSL 통신 오류 – curl: (60) SSL certificate problem: unable to get local issuer certificate / UNABLE_TO_VERIFY_LEAF_SIGNATURE 오류

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.

접속을 시도하는 서버의 SSL 인증서 확인 필요,

중간인증서가 빠진 경우 해당서버에 중간인증서를 추가해주자.(CertificateChainFile)

*SSL

ssl             CertificateFile = “/hhoo/ssl/wildcard.c.b_15.all.crt.pem”,

                CertificateKeyFile = /hhoo/ssl/wildcard.c.b_15.key.pem”,

                CertificateChainFile = /hhoo/ssl/wildcard.c.b_15/chain-bundle.pem”

Leave a Comment