{"id":359,"date":"2020-07-19T02:56:10","date_gmt":"2020-07-18T17:56:10","guid":{"rendered":"https:\/\/tippang.com\/?p=359"},"modified":"2020-07-24T03:14:40","modified_gmt":"2020-07-23T18:14:40","slug":"c-wordpress-ssl-setting-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/tippang.com\/?p=359","title":{"rendered":"WordPress &#8211; SSL Setting &#8211; Ubuntu Linux"},"content":{"rendered":"<p>Config change : \/etc\/apapche2\/sites-available\/*.conf\u00a0 \ud30c\uc77c\uc5d0 \uc785\ub825\ub41c \ub4f1\ub85d\uc744 \uc6d0\ud558\ub294 \ub3c4\uba54\uc778 \uc815\ubcf4\ub97c \ubcc0\uacbd\ud558\uace0 \uc2dc\uc791\ud558\uc138\uc694<\/p>\n<p><!--more--><\/p>\n<p>sudo certbot &#8211;apache<\/p>\n<p>$ sudo certbot &#8211;apache certonly<\/p>\n<p>sudo certbot &#8211;nginx<\/p>\n<p>Please read the Terms of Service at<br \/>\n<a href=\"https:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf\" target=\"_blank\" rel=\"noopener\">https:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf<\/a>. You must<br \/>\nagree in order to register with the ACME server at<br \/>\n<a href=\"https:\/\/acme-v02.api.letsencrypt.org\/directory\" target=\"_blank\" rel=\"noopener\">https:\/\/acme-v02.api.letsencrypt.org\/directory<\/a><br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n(A)gree\/(C)ancel:<\/p>\n<p>Would you be willing to share your email address with the Electronic Frontier<br \/>\nFoundation, a founding partner of the Let&#8217;s Encrypt project and the non-profit<br \/>\norganization that develops Certbot? We&#8217;d like to send you email about our work<br \/>\nencrypting the web, EFF news, campaigns, and ways to support digital freedom.<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n(Y)es\/(N)o:<\/p>\n<p>&nbsp;<\/p>\n<p>Which names would you like to activate HTTPS for?<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\n1: test.com<br \/>\n&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;<br \/>\nSelect the appropriate numbers separated by commas and\/or spaces, or leave input<br \/>\nblank to select all options shown (Enter &#8216;c&#8217; to cancel):<\/p>\n<p>&nbsp;<\/p>\n<p>Obtaining a new certificate<br \/>\nPerforming the following challenges:<br \/>\nhttp-01 challenge for test.com<br \/>\nWaiting for verification&#8230;<br \/>\nCleaning up challenges<\/p>\n<p>IMPORTANT NOTES:<br \/>\n&#8211; Congratulations! Your certificate and chain have been saved at:<br \/>\n\/etc\/letsencrypt\/live\/test.com\/fullchain.pem<br \/>\nYour key file has been saved at:<br \/>\n\/etc\/letsencrypt\/live\/test.com\/privkey.pem<br \/>\nYour cert will expire on 2018-12-16. To obtain a new or tweaked<br \/>\nversion of this certificate in the future, simply run certbot<br \/>\nagain. To non-interactively renew *all* of your certificates, run<br \/>\n&#8220;certbot renew&#8221;<br \/>\n&#8211; Your account credentials have been saved in your Certbot<br \/>\nconfiguration directory at \/etc\/letsencrypt. You should make a<br \/>\nsecure backup of this folder now. This configuration directory will<br \/>\nalso contain certificates and private keys obtained by Certbot so<br \/>\nmaking regular backups of this folder is ideal.<br \/>\n&#8211; If you like Certbot, please consider supporting our work by:<\/p>\n<p>Donating to ISRG \/ Let&#8217;s Encrypt:\u00a0\u00a0 <a href=\"https:\/\/letsencrypt.org\/donate\" target=\"_blank\" rel=\"noopener\">https:\/\/letsencrypt.org\/donate<\/a><br \/>\nDonating to EFF:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <a href=\"https:\/\/eff.org\/donate-le\" target=\"_blank\" rel=\"noopener\">https:\/\/eff.org\/donate-le<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b>SSL \uc778\uc99d\uc11c \ud30c\uc77c<\/b><\/p>\n<ul>\n<li><b>privkey.pem<\/b>\u00a0: \uc778\uc99d\uc11c\ub97c \uc704\ud55c \ube44\ubc00\ud0a4 \ud30c\uc77c\uc785\ub2c8\ub2e4.<\/li>\n<li><b>fullchain.pem<\/b>\u00a0: \uc778\uc99d\uc11c\uc640 \uccb4\uc778 \uc778\uc99d\uc11c\uac00 \ud569\uccd0\uc9c4 \uc804\uccb4 \ud30c\uc77c\uc785\ub2c8\ub2e4. \ub300\ubd80\ubd84\uc758 \uc11c\ubc84 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc5d0\uc11c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/li>\n<li><b>chain.pem<\/b>\u00a0: Nginx &gt;=1.3.7\uc5d0\uc11c OCSP stapling\uc744 \uc704\ud574\uc11c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/li>\n<li><b>cert.pem<\/b>\u00a0: \uc0dd\uc131\ub41c \uc778\uc99d\uc11c \ud30c\uc77c\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p><b>Apache \uc778\uc99d\uc11c \ud65c\uc131\ud654<\/b><\/p>\n<p>$ sudo a2enmod ssl<\/p>\n<p>\/etc\/apache2\/sites-available\/*.conf<\/p>\n<p><b>SSLEngine <\/b>on<br \/>\n<b>SSLCertificateKeyFile<\/b> \u00a0 \/etc\/letsencrypt\/live\/test.com\/privkey.pem<br \/>\n<b>SSLCertificateFile<\/b> \u00a0\u00a0\u00a0\u00a0 \/etc\/letsencrypt\/live\/test.com\/cert.pem<br \/>\n<b>SSLCertificateChainFile<\/b> \u00a0\u00a0 \/etc\/letsencrypt\/live\/test.com\/fullchain.pem<br \/>\n..<br \/>\n<b><\/b><b><\/b><\/p>\n<p><b>letsencrypt \uc790\ub3d9\uac31\uc2e0<\/b><\/p>\n<p>0 0 1 * * \/bin\/bash -l -c &#8216;certbot renew &#8211;quiet&#8217;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Config change : \/etc\/apapche2\/sites-available\/*.conf\u00a0 \ud30c\uc77c\uc5d0 \uc785\ub825\ub41c \ub4f1\ub85d\uc744 \uc6d0\ud558\ub294 \ub3c4\uba54\uc778 \uc815\ubcf4\ub97c \ubcc0\uacbd\ud558\uace0 \uc2dc\uc791\ud558\uc138\uc694<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tippang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=359"}],"version-history":[{"count":8,"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":600,"href":"https:\/\/tippang.com\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions\/600"}],"wp:attachment":[{"href":"https:\/\/tippang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tippang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tippang.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}