Certbot: Certbot์€ ์ด์ „ ๋ฒ„์ „์˜ Python์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

์— ๋งŒ๋“  2017๋…„ 01์›” 17์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: certbot/certbot

์•ˆ๋…•ํ•˜์„ธ์š”, Ubuntu 14.04์˜ Certbot์€ ์ตœ์‹  ๋ฒ„์ „์˜ Pip(9.0.1)๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๊ฒฝ์šฐ์—๋„ ์ด์ „ ๋ฒ„์ „์˜ Pip(8.0.3)๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. InsecurePlatformWarning ๊ฒฝ๊ณ ๋ฅผ ์ฃผ๊ธฐ ๋•Œ๋ฌธ์— $certbot-auto ๊ฐฑ์‹  ๋ช…๋ น์„ ์„ฑ๊ณต์ ์œผ๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ? ์•„๋ž˜์— ๋ชจ๋“  ์ถœ๋ ฅ์„ ๋ถ™์—ฌ๋„ฃ์—ˆ์Šต๋‹ˆ๋‹ค.

Command "/home/wolthuis/.local/share/letsencrypt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Txn1F9/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('
', '
'), __file__, 'exec'))" install --record /tmp/pip-igOc6P-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/wolthuis/.local/share/letsencrypt/include/site/python2.7/cryptography" failed with error code 1 in /tmp/pip-build-Txn1F9/cryptography
/home/wolthuis/.local/share/letsencrypt/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
You are using pip version 8.0.3, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
=====================================================

Certbot has problem setting up the virtual environment.

Based on your pip output, the problem can likely be fixed by 
increasing the available memory.

Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .

duplicate

๋ชจ๋“  3 ๋Œ“๊ธ€

์ด๊ฒƒ์€ #2804(๋˜๋Š” #1081)์˜ ๋ณต์ œ๋ณธ์ฒ˜๋Ÿผ ๋ณด์ž…๋‹ˆ๋‹ค. ๊ฐ„๋‹จํžˆ ๋งํ•ด์„œ, ์‹คํ–‰ ์ค‘์ธ ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค๋ฅผ (์ผ์‹œ์ ์œผ๋กœ) ์ค‘์ง€ํ•˜๊ฑฐ๋‚˜ ์Šค์™‘ ํŒŒ์ผ์„ ์ถ”๊ฐ€ํ•˜์—ฌ ๋” ๋งŽ์€ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ํ™•๋ณดํ•˜๋ฉด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค.

์ด๊ฒƒ์€ ๊ณต์‹ ๋ฌธ์„œ์˜ ์†”๋ฃจ์…˜์ž…๋‹ˆ๋‹ค.
์ž„์‹œ ์Šค์™‘ ํŒŒ์ผ ์ƒ์„ฑ:
user<strong i="7">@webserver</strong>:~$ sudo fallocate -l 1G /tmp/swapfile
user<strong i="10">@webserver</strong>:~$ sudo chmod 600 /tmp/swapfile
user<strong i="13">@webserver</strong>:~$ sudo mkswap /tmp/swapfile
user<strong i="16">@webserver</strong>:~$ sudo swapon /tmp/swapfile

๋‹น์‹ ์˜ ๊ฐฑ์‹ ์„ ํ• 

๊ฐ€์ƒ ํ™˜๊ฒฝ์ด ๊ตฌ์„ฑ๋˜๋ฉด ์Šค์™‘ ํŒŒ์ผ์„ ๋น„ํ™œ์„ฑํ™”ํ•˜๊ณ  ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.
user<strong i="21">@webserver</strong>:~$ sudo swapoff /tmp/swapfile
user<strong i="24">@webserver</strong>:~$ sudo rm /tmp/swapfile

์ด๊ฒƒ์€ ๋‚˜๋ฅผ ์œ„ํ•ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค. ./certbot-auto certonly --no-bootstrap ./certbot-auto certonly --debug ๋ฅผ ์‹คํ–‰ํ•ด์•ผ ํ–ˆ์Šต๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰