๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
IT-Engineering/TroubleShooting

git push -u origin master ์‹คํ–‰์‹œ SSL certificate problem: self signed certificate in certificate chain ์—๋Ÿฌ ๋ฐœ์ƒ ํ•ด๊ฒฐ

by ๐Ÿงž‍โ™‚๏ธ 2020. 4. 14.
๋ฐ˜์‘ํ˜•

GitHub์— Repository๋ฅผ ๋งŒ๋“ค๊ณ  ์ž‘์€ ํ”„๋กœ์ ํŠธ๋ฅผ ํ•˜๋‚˜ ์˜ฌ๋ฆฌ๋ ค๋Š”๋ฐ, ์‚ฌ์†Œํ•œ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

ํ•ด๊ฒฐํ•˜๋Š”๋ฐ ์•ฝ๊ฐ„ ํ—ค๋งธ์–ด์„œ ๊ฒฝํ—˜์„ ๊ณต์œ ํ•œ๋‹ค.

 

git push -u origin master

๋ฅผ ์‹คํ–‰ํ–ˆ์„ ๋•Œ

SSL certificate problem: self signed certificate in certificate chain

๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. ์ด๋Ÿฐ ์ €๋Ÿฐ ๋ฐฉ๋ฒ•์„ ์ˆ˜ํ–‰ํ•ด๋ณด์•˜์ง€๋งŒ, ์ž˜ ๋Œ์•„์˜ค์ง€ ์•Š์•˜๋‹ค.

 

๊ฒฐ๋ก ์ ์œผ๋กœ ์•„๋ž˜์˜ ํ•œ์ค„๋กœ ํ•ด๊ฒฐ์ด ๋๋‹ค. ๋‹คํ–‰.

git config --global http.sslVerify false

 

Stackoverflow์˜ ์•„๋ž˜ ๊ธ€์ด ์œ ์šฉํ–ˆ๋‹ค.

 

์ฐธ์กฐ: https://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate

 

How can I make git accept a self signed certificate?

Using Git, is there a way to tell it to accept a self signed certificate? I am using an https server to host a git server but for now the certificate is self signed. When I try to create the repo...

stackoverflow.com

 

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€