<p>certbot-auto๋Š” nginx์— ๋Œ€ํ•œ ์ง€์นจ์„ ๋”ฐ๋ฅด๊ณ  ์žˆ์Œ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ  ์•„ํŒŒ์น˜๋ฅผ ์ฐพ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.</p>

์— ๋งŒ๋“  2016๋…„ 10์›” 25์ผ  ยท  4์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: certbot/certbot

Ubuntu trusty + nginx์— ๋Œ€ํ•œ ์ง€์นจ ์„ ๋”ฐ๋ฅด๊ธฐ ์‹œ์ž‘ํ–ˆ๋Š”๋ฐ ์ž๋™ ์„ค์น˜ ํ”„๋กœ์„ธ์Šค๊ฐ€ ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค.

letsencrypt.log :

2016-10-25 20:06:06,111:DEBUG:certbot.main:Root logging level set at 20
2016-10-25 20:06:06,111:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-10-25 20:06:06,145:DEBUG:certbot.main:certbot version: 0.9.3
2016-10-25 20:06:06,145:DEBUG:certbot.main:Arguments: []
2016-10-25 20:06:06,145:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#standalone,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#webroot,PluginEntryPoint#apache,PluginEntryPoint#null)
2016-10-25 20:06:06,154:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2016-10-25 20:06:06,192:WARNING:certbot.plugins.util:Failed to find apache2ctl in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2016-10-25 20:06:06,199:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#apache): Cannot find Apache control command apache2ctl
Traceback (most recent call last):
  File "/home/gluten/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 106, in prepare
    self._initialized.prepare()
  File "/home/gluten/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot_apache/configurator.py", line 168, in prepare
    'Cannot find Apache control command {0}'.format(restart_cmd))
NoInstallationError: Cannot find Apache control command apache2ctl
2016-10-25 20:06:06,200:DEBUG:certbot.plugins.selection:No candidate plugin
2016-10-25 20:06:06,201:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

์—ฌ๊ธฐ์„œ ๋ฌธ์ œ๋Š” ๋‹จ์ˆœํžˆ ์šฐ๋ฆฌ ์ธก์˜ ์ž˜๋ชป๋œ ๋ฌธ์„œ์ž…๋‹ˆ๋‹ค. certbot-auto ์‹คํ–‰ํ•˜๋ฉด Certbot์ด ์„ค์น˜๋˜๊ณ  ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. ๊ท€ํ•˜์˜ ๊ฒฝ์šฐ Certbot์ด ์„ฑ๊ณต์ ์œผ๋กœ ์„ค์น˜๋˜์—ˆ์ง€๋งŒ ์‹คํ–‰ ์ค‘ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” ์‚ฌ์šฉ ์‚ฌ๋ก€์˜ ๊ฒฝ์šฐ Certbot์ด ๋ช…๋ น์ค„์—์„œ ์ถ”๊ฐ€ ๋ช…๋ น์„ ํ•„์š”๋กœ ํ•˜๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค.

์œ„ ๋งํฌ์—์„œ "์‹œ์ž‘ํ•˜๊ธฐ" ์ง€์นจ์„ ๊ณ„์† ์ง„ํ–‰ํ•ด ๋ณด์‹ญ์‹œ์˜ค.

๋ฌธ์„œ์˜ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด certbot/website#165๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

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

์—ฌ๊ธฐ์„œ ๋ฌธ์ œ๋Š” ๋‹จ์ˆœํžˆ ์šฐ๋ฆฌ ์ธก์˜ ์ž˜๋ชป๋œ ๋ฌธ์„œ์ž…๋‹ˆ๋‹ค. certbot-auto ์‹คํ–‰ํ•˜๋ฉด Certbot์ด ์„ค์น˜๋˜๊ณ  ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. ๊ท€ํ•˜์˜ ๊ฒฝ์šฐ Certbot์ด ์„ฑ๊ณต์ ์œผ๋กœ ์„ค์น˜๋˜์—ˆ์ง€๋งŒ ์‹คํ–‰ ์ค‘ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. ์ด๋Š” ์‚ฌ์šฉ ์‚ฌ๋ก€์˜ ๊ฒฝ์šฐ Certbot์ด ๋ช…๋ น์ค„์—์„œ ์ถ”๊ฐ€ ๋ช…๋ น์„ ํ•„์š”๋กœ ํ•˜๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค.

์œ„ ๋งํฌ์—์„œ "์‹œ์ž‘ํ•˜๊ธฐ" ์ง€์นจ์„ ๊ณ„์† ์ง„ํ–‰ํ•ด ๋ณด์‹ญ์‹œ์˜ค.

๋ฌธ์„œ์˜ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด certbot/website#165๋ฅผ ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

certbot/website#165์— ์ฐฌ์„ฑํ•˜์—ฌ ๋งˆ๊ฐํ•ฉ๋‹ˆ๋‹ค.

๋‚˜๋Š” ์—ฌ๊ธฐ์— ๊ฐ™์€ ๋ฌธ์ œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
์ผ์‹œ์ ์ธ ํ•ด๊ฒฐ์ฑ…์ด ์žˆ์Šต๋‹ˆ๊นŒ?

๋ชจ๋“  ๊ฒƒ์ด ์ž˜ ์ž‘๋™ํ•˜๊ณ  ์ด์ œ ์•„๋ฌด ๊ฒƒ๋„ ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค ๐Ÿ™ˆ

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