Certbot: ํ™•์žฅ์€ ์ƒˆ ๋„๋ฉ”์ธ์„ ๋ฌด์‹œํ•ฉ๋‹ˆ๋‹ค.

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

์ปค๋ฎค๋‹ˆํ‹ฐ ํฌ๋Ÿผ์˜ ๋งŽ์€ ์‚ฌ์šฉ์ž๊ฐ€ ๊ธฐ์กด ์ธ์ฆ์„œ๋ฅผ ํ™•์žฅํ•˜๋Š” ๋ฐ ์–ด๋ ค์›€์„ ๊ฒช๊ณ  ์žˆ๋‹ค๊ณ ๋ณด๊ณ ํ–ˆ์Šต๋‹ˆ๋‹ค. certbot 0.10.0์„ ์‚ฌ์šฉํ•˜์—ฌ ๊นจ๋—ํ•œ Ubuntu 16.04 ์„ค์น˜์—์„œ ์žฌํ˜„ ํ•  ์ˆ˜์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๋‚˜๋Š” ๋…๋ฆฝ ์‹คํ–‰ ํ˜•๊ณผ ์•„ํŒŒ์น˜๋ฅผ ํ…Œ์ŠคํŠธํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ์•„๋งˆ๋„ ํ”Œ๋Ÿฌ๊ทธ์ธ๊ณผ ๊ด€๋ จ์ด ์—†์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์ถœ๋ ฅ์„ ํฌํ•จํ•˜์—ฌ ์žฌํ˜„ ํ•  ๋ช…๋ น :

root<strong i="8">@debug</strong>:~# ./certbot-auto certonly --standalone -d 1.debug.le.pf.vc -d 2.debug.le.pf.vc --staging --register-unsafely-without-email
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for 1.debug.le.pf.vc
tls-sni-01 challenge for 2.debug.le.pf.vc
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0000_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0000_csr-certbot.pem

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/1.debug.le.pf.vc/fullchain.pem. Your cert
   will expire on 2017-04-13. To obtain a new or tweaked version of
   this certificate in the future, simply run certbot-auto again. To
   non-interactively renew *all* of your certificates, run
   "certbot-auto renew"
 - Your account credentials have been saved in your Certbot
   configuration directory at /etc/letsencrypt. You should make a
   secure backup of this folder now. This configuration directory will
   also contain certificates and private keys obtained by Certbot so
   making regular backups of this folder is ideal.

root<strong i="9">@debug</strong>:~# ./certbot-auto certonly --standalone -d 1.debug.le.pf.vc -d 2.debug.le.pf.vc -d 3.debug.le.pf.vc --staging --register-unsafely-without-email
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/1.debug.le.pf.vc.conf)

It contains these names: 1.debug.le.pf.vc, 2.debug.le.pf.vc

You requested these names for the new certificate: 1.debug.le.pf.vc,
2.debug.le.pf.vc, 3.debug.le.pf.vc.

Do you want to expand and replace this existing certificate with the new
certificate?
-------------------------------------------------------------------------------
(E)xpand/(C)ancel: e
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for 1.debug.le.pf.vc
tls-sni-01 challenge for 2.debug.le.pf.vc
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0001_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0001_csr-certbot.pem

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/1.debug.le.pf.vc/fullchain.pem. Your cert
   will expire on 2017-04-13. To obtain a new or tweaked version of
   this certificate in the future, simply run certbot-auto again. To
   non-interactively renew *all* of your certificates, run
   "certbot-auto renew"

root<strong i="10">@debug</strong>:~# openssl x509 -text -noout -in /etc/letsencrypt/live/1.debug.le.pf.vc/cert.pem | grep DNS
                DNS:1.debug.le.pf.vc, DNS:2.debug.le.pf.vc

์›๋ณธ ๋ณด๊ณ ์„œ :
https://community.letsencrypt.org/t/expands-not-working-on-pre-existing-cert-requests/25605?u=pfg
https://community.letsencrypt.org/t/workaround-for-5-domain-limit/25651?u=pfg

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

@patf ๋ฒ„๊ทธ ๋ณด๊ณ ์„œ์— ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ์˜ค๋Š˜์ด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค.

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

@patf ๋ฒ„๊ทธ ๋ณด๊ณ ์„œ์— ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ์˜ค๋Š˜์ด ๋ฌธ์ œ๊ฐ€ ํ•ด๊ฒฐ๋˜๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค.

certbot 0.17.0์„ ์‚ฌ์šฉํ•˜๋Š” Ubuntu 17.04์—์„œ ์—ฌ์ „ํžˆ ์ •ํ™•ํ•œ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. ์›น ๋ธŒ๋ผ์šฐ์ €์—์„œ ํ•˜์œ„ ๋„๋ฉ”์ธ์„ ์‹œ๋„ ํ•  ๋•Œ๊นŒ์ง€ certbot ๋กœ๊ทธ์—์„œ ๋ชจ๋‘ ์ž˜ ๋ณด์ž…๋‹ˆ๋‹ค.์ด ๊ฒฝ์šฐ ์ด๋ฆ„์ด ์ผ์น˜ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

@BadassOverlord ,์ด ์ •ํ™•ํ•œ ๋ฒ„๊ทธ๋Š” ๋‹ซํ˜”์œผ๋ฏ€๋กœ ๋น„์Šทํ•œ ํšจ๊ณผ๊ฐ€์žˆ๋Š” ๋‹ค๋ฅธ ๋ฌธ์ œ์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๋ฅผ ๋””๋ฒ„๊น…ํ•˜๋Š” ๋ฐ ๋„์›€์„ ๋ฐ›๊ธฐ ์œ„ํ•ด "์ƒˆ ์ฃผ์ œ"ํŽ˜์ด์ง€์—์„œ ๊ถŒ์žฅํ•˜๋Š” ๋ชจ๋“  ์ •๋ณด๋ฅผ ํฌํ•จํ•˜์—ฌ ์ปค๋ฎค๋‹ˆํ‹ฐ ํฌ๋Ÿผ ์— ์ด์— ๋Œ€ํ•ด ๊ฒŒ์‹œํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

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