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๋ฅผ ๋ง๋ค์์ต๋๋ค.
certbot/website#165์ ์ฐฌ์ฑํ์ฌ ๋ง๊ฐํฉ๋๋ค.
๋๋ ์ฌ๊ธฐ์ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
์ผ์์ ์ธ ํด๊ฒฐ์ฑ
์ด ์์ต๋๊น?
๋ชจ๋ ๊ฒ์ด ์ ์๋ํ๊ณ ์ด์ ์๋ฌด ๊ฒ๋ ์๋ํ์ง ์์ต๋๋ค ๐
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ฌ๊ธฐ์ ๋ฌธ์ ๋ ๋จ์ํ ์ฐ๋ฆฌ ์ธก์ ์๋ชป๋ ๋ฌธ์์ ๋๋ค.
certbot-auto
์คํํ๋ฉด Certbot์ด ์ค์น๋๊ณ ์คํ๋ฉ๋๋ค. ๊ทํ์ ๊ฒฝ์ฐ Certbot์ด ์ฑ๊ณต์ ์ผ๋ก ์ค์น๋์์ง๋ง ์คํ ์ค ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค. ์ด๋ ์ฌ์ฉ ์ฌ๋ก์ ๊ฒฝ์ฐ Certbot์ด ๋ช ๋ น์ค์์ ์ถ๊ฐ ๋ช ๋ น์ ํ์๋ก ํ๊ธฐ ๋๋ฌธ์ ๋๋ค.์ ๋งํฌ์์ "์์ํ๊ธฐ" ์ง์นจ์ ๊ณ์ ์งํํด ๋ณด์ญ์์ค.
๋ฌธ์์ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด certbot/website#165๋ฅผ ๋ง๋ค์์ต๋๋ค.