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

ํšŒ์‚ฌ์—์„œ ์ž๊พธ ๋ฐœ์ƒํ•˜๋Š” SSL ์ธ์ฆ์„œ ๋ฌธ์ œ ํ•ด๊ฒฐํ•˜๊ธฐ

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

A.I. ๊ด€๋ จ ์—…๋ฌด๋ฅผ ํ•˜๋‹ค๋ณด๋ฉด npm์„ ์ด์šฉํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜, pip๋ฅผ ์ด์šฉํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜, conda๋ฅผ ์ด์šฉํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜, yarn์„ ์ด์šฉํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜ ๋“ฑ ๋ญ ์ด๋ ‡๊ฒŒ ๋งŽ๋‚˜ ์‹ถ๊ฒŒ ๋งŽ๋‹ค.

https://gentlesark.tistory.com/75

 

jupyterlab tensorboard extension์„ค์น˜ ๋ฌธ์ œ ํ•ด๊ฒฐ

 Jupyter Lab์˜ Tensorboard Extension์„ค์น˜ ๋ฐฉ๋ฒ• jupyter labextension install jupyterlab_tensorboard  ๋ฌธ์ œ ์ƒํ™ฉ ๋‹ค์Œ์˜ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. Building jupyterlab assets (build:prod:minimize) An error occur..

gentlesark.tistory.com

์œ„์˜ ๊ธ€๋งŒ ๋ด๋„ yarn์„ค์น˜๋„ ๊ด€๋ จ๋˜์–ด์žˆ๊ณ  ์—ญ์‹œ๋‚˜ SSL๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋˜ ๋ฌธ์ œ๋“ค ํˆฌ์„ฑ์ด...

https://gentlesark.tistory.com/63

 

git push ๋ฌธ์ œ ํ•ด๊ฒฐ - server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

ํšŒ์‚ฌ์—์„œ SSL์ธ์ฆ์„œ๊ฐ€ ๊ฐฑ์‹ ๋˜๋ฉด์„œ ์ƒ๊ธด ๋ฌธ์ œ์˜€๋‹ค. ์ค€๋น„๋ฌผ์€ SSL์ธ์ฆ์„œ๋กœ filename.crt ํ˜•ํƒœ์˜ ์ธ์ฆ์„œ๊ฐ€ ํ•„์š”ํ•˜๋‹ค. ๊ทธ๋ฆฌ๊ณ  ๋‹ค์Œ์˜ ๋ช…๋ น์ค„๋“ค์„ ์ž…๋ ฅํ•˜๋ฉด ๋! sudo cp filename.crt /usr/local/share/ca-certificates..

gentlesark.tistory.com

git์„ ์“ธ ๋•Œ๋„ ์ผ์–ด๋‚ฌ๊ณ ,

https://gentlesark.tistory.com/57

 

urllib request.py urlopen SSL ์ธ์ฆ์„œ ์—๋Ÿฌ ๋ฌธ์ œ ํ•ด๊ฒฐ SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED]

URLError: PyTorch์—์„œ ResNet ์‹ ๊ฒฝ๋ง์„ ๋ถˆ๋Ÿฌ์˜ค๋‹ค๊ฐ€ ์ ‘ํ•œ ์—๋Ÿฌ์ด๋‹ค. ํšŒ์‚ฌ์—์„œ ์ž‘์—…์„ ํ•˜๋‹ค๋ณด๋ฉด, SSL์ธ์ฆ์„œ ๋ฌธ์ œ๋กœ url์ ‘๊ทผ์— ๋ฌธ์ œ๊ฐ€ ๋˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์ด์ „์—๋„ ์žˆ์—ˆ๋‹ค. 2020/04/14 - [IT-Engineering] - git push -u o..

gentlesark.tistory.com

PyTorch ์“ฐ๋‹ค๊ฐ€๋„ ์ผ์–ด๋‚ฌ๋‹ค.

์ด๋ฒˆ ๊ฒฝ์šฐ์—๋„ ๋งจ ์œ„์˜ Jupyter Lab Extension๊ณผ ๊ด€๋ จํ•œ ๋ฌธ์ œ์˜€๋Š”๋ฐ ์‹คํ–‰ ์ค‘์— ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์ถœ๋ ฅ๋˜์—ˆ๋‹ค.

Failed to fetch package metadata for 'jupyterlab_tensorboard': URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)'))

์›์ฒœ์ ์œผ๋กœ ํ•ด๊ฒฐํ•  ๋ฐฉ๋ฒ•์„ ์ฐพ๋‹ค๊ฐ€ ๋„์›€์ด ๋œ ํ•œ๊ฐ€์ง€ ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•œ๋‹ค. ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์ถ”๊ฐ€ ๋ฐฉ๋ฒ•์ด๋‹ค. ์ด๋ฒˆ ๊ฒฝ์šฐ๋Š” .bashrcํŒŒ์ผ์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ด์ฃผ์—ˆ๋‹ค.

export SSL_CERT_FILE="{๊ฐ€์ง€๊ณ ์žˆ๋˜SSL์ธ์ฆ์„œcrtํŒŒ์ผ๊ฒฝ๋กœ}"
๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€