{"id":620,"date":"2025-08-21T13:04:38","date_gmt":"2025-08-21T04:04:38","guid":{"rendered":"http:\/\/www.iwgh.my\/?p=620"},"modified":"2025-08-21T13:04:38","modified_gmt":"2025-08-21T04:04:38","slug":"https-ssl-%eb%b3%b4%ec%95%88%ec%97%b0%ea%b2%b0-%ec%82%ac%ec%9d%b4%ed%8a%b8%eb%a1%9c-%ec%a0%84%ed%99%98","status":"publish","type":"post","link":"https:\/\/iwgh.duckdns.org\/?p=620","title":{"rendered":"https &#8211; SSL \ubcf4\uc548\uc5f0\uacb0 \uc0ac\uc774\ud2b8\ub85c \uc804\ud658."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\uc77c\ubc18\uc801\uc73c\ub85c apache\ub098 nginx\ub97c \ud1b5\ud574 \uc6f9\uc11c\ubc84\ub97c \uc62c\ub9ac\uba74 http \uc989 \uc554\ud638\ud654\ub418\uc9c0 \uc54a\ub294 \uc0ac\uc774\ud2b8\uac00 \uc2e4\ud589\ub41c\ub2e4.<br>\ub2e8\uc21c\ud55c \ud398\uc774\uc9c0\ub77c\uba74 \ud06c\uac8c \uc0c1\uad00\uc774 \uc5c6\uaca0\uc73c\ub098 \uc815\ubcf4\ub97c \uc8fc\uace0 \ubc1b\ub294 \uc6f9\uc0ac\uc774\ud2b8\ub77c\uba74 \uc554\ud638\ud654\ub41c \uc5f0\uacb0\uc744 \uc0ac\uc6a9\ud574,<br>\uc911\uac04\uc5d0 \uc81c3\uc790\uac00 \ud328\ud0b7\uc744 \ud0c8\ucde8\ud574\ub3c4 \uadf8 \ub0b4\uc6a9\uc744 \ubcfc \uc218\uac00 \uc5c6\ub2e4.<br><br>\uc774\uac83\uc740 \uc6b0\ub9ac\uac00 \ud604\uc7ac \uc778\ud130\ub137\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ud558\ub294 \ub124\ud2b8\uc6cc\ud06c\uc758 \ud1b5\uc2e0\ubc29\uc2dd\uacfc \uad00\ub828\uc774 \uc788\ub2e4.<br>\uae30\ubcf8\uc801\uc73c\ub85c PC\uc758 \ud1b5\uc2e0 \ubc29\ubc95\uc740 \uac19\uc740 \ub124\ud2b8\uc6cc\ud06c \ub0b4\uc5d0 \uc788\ub294 \ubaa8\ub450\uc5d0\uac8c \uc18c\ub9ac\uce58\ub294 \ubc29\uc2dd\uc774\ub2e4. <br>\uadf8\ub7fc \ud544\uc694\ud55c \uc0ac\ub78c\ub9cc \uadc0\ub97c \uadc0\uc6b8\uc774\ub294 \ubc29\uc2dd\uc774\ub2e4. \uc545\uc758\uc801\uc73c\ub85c \uc5ff\ub4e4\uc744\ub824\ub294 \uc2dc\ub3c4\ub97c \ucc28\ub2e8 \ud560 \uc218\uac00 \uc5c6\ub2e4.<br>\uadf8\ub798\uc11c \ub458 \uc0ac\uc774\uc758 \uc554\ud638\ud654\ub97c \ud558\uba70 \uc778\ud130\ub137\uc5d0\uc11c\ub294 https\ub85c \uc2dc\uc791\ud558\ub294 \uc8fc\uc18c\uc774\uba70, \ubb34\uc120\uc5d0\uc11c\ub294 SSID \uc5f0\uacb0\uc2dc <br>\uc5f0\uacb0 \uc554\ud638\ub97c \ub123\ub294 \uac83\uc774\ub2e4.<br>\uc6f9\uc744 \uc81c\uc678\ud55c \ub098\uba38\uc9c0\ub294 app\ub2e8\uc5d0\uc11c \uc885\ub2e8\uc554\ud638\ud654\ub97c \ud55c\ub2e4. \uc2a4\ub9c8\ud2b8\ud3f0 \ucd08\uae30\uc5d0 \uc774\ub7f0 \ubcf4\uc548\uc870\uce58\uac00 \uc5c6\uc5b4\uc11c \uc218 \ub9ce\uc740 <br>\uac1c\uc778 \ud574\ud0b9\uc0ac\uace0\uac00 \uc77c\uc5b4\ub0ac\ub2e4. \uc65c \ubc16\uc5d0\uc11c \ubb34\uc120\uc778\ud130\ub137\uc744 \uc0ac\uc6a9\ud558\ub2e4\uac00 \ud578\ub4dc\ud3f0\uc774 \ud574\ud0b9\ub2f9\ud55c \uc0ac\ub840\ub97c \ud55c \ubc88\ucbe4 \ub4e4\uc5b4\ubd24\uc744 \ub4ef \ud558\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub0b4\uac00 \uc6b4\uc601\ud558\ub294 \uc6f9\uc0ac\uc774\ud2b8 \uc554\ud638\ud654\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc778\uc99d\uc11c \ub77c\ub294 \uac83\uc774 \ud544\uc694\ud558\ub2e4. \uadf8\ub7f0\ub370 \uc774 \uc778\uc99d\uc11c\uc758 \uac00\uaca9\uc774 \uc6f9\uc0ac\uc774\ud2b8 \ub3c4\uba54\uc778\uc5d0 \ubd99\uc77c\ub824\uba74 1\ub144\uc5d0 \uba87 \ub9cc\uc6d0 \uc218\uc900\uc758 \uc720\ub8cc\uc11c\ube44\uc2a4\uc774\ub2e4.<br>\uc880 \ub354 \ubc94\uc6a9\uc801\uc73c\ub85c VPN\uc5f0\uacb0, AD\uc778\uc99d \ub4f1 \uc5ec\ub7ec\uac00\uc9c0\uc5d0 \uc0ac\uc6a9\ud560\ub824\uba74 \uac00\uaca9\uc774 \ub354 \uc62c\ub77c\uac00\ub294 \uad6c\uc870\uc774\ub2e4.<br>\uac1c\uc778\uc801\uc73c\ub85c \ub3c4\uba54\uc778\ub3c4 \uc81c\uc77c \uc2fc\uac70\ub85c 1\ub144\ub9c8\ub2e4 \uba54\ub69c\uae30 \uc9d3\uc744 \ud558\ub294 \uc785\uc7a5\uc5d0\uc11c \ube44\ud6a8\uc728\uc801\uc774\ub2e4.<br><br>\uc0ac\ub78c\uc0ac\ub294 \uac83\uc774 \ub2e4 \ubc29\ubc95\uc774 \uc788\ub4ef\uc774 \uac1c\uc778\uc5d0\uac8c 90\uc77c\uc9dc\ub9ac \ubb34\ub8cc\uc778\uc99d\uc11c\ub97c \uc81c\uacf5\ud558\ub294 \uae30\uad00\uc774 \uc788\ub2e4.<br>\ubb3c\ub860 90\uc77c\ub9c8\ub2e4 \uac31\uc2e0\ud558\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\ub2e4. (Let&#8217;s Encrypt : <a href=\"https:\/\/letsencrypt.org\/ko\/\">https:\/\/letsencrypt.org\/ko\/<\/a>)<br>\uc124\uce58\ubc29\ubc95\ub3c4 \ub108\ubb34 \uc26c\uc6cc\uc11c \uad8c\uc7a5\ud55c\ub2e4.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"525\" src=\"http:\/\/www.iwgh.my\/wp-content\/uploads\/2025\/08\/image-2.png\" alt=\"\" class=\"wp-image-622\" srcset=\"https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2.png 784w, https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2-300x201.png 300w, https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2-768x514.png 768w, https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2-230x154.png 230w, https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2-350x234.png 350w, https:\/\/iwgh.duckdns.org\/wp-content\/uploads\/2025\/08\/image-2-480x321.png 480w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">1. certbot \uc124\uce58<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"> # apt install certbot python3-certbot-apache<br>\uc6b0\ubd84\ud22c\uc5d0\uc11c\ub294 \uac04\ub2e8\ud558\uac8c certbot, python3-certbot-apache \ub97c \uc124\uce58\ud558\uba74 \uac00\ub2a5.<br>\uc6f9\uc0ac\uc774\ud2b8\uc5d0\uc11c \ubcc4\ub3c4\ub85c \uc778\uc99d\uc11c \ubc1c\uae09\ud558\uace0 \uc6f9\uc11c\ubc84\uc5d0 \ub4f1\ub85d\ub3c4 \uac00\ub2a5\ud558\uc9c0\ub9cc, \uc6f9\uc11c\ubc84\uc5d0\uc11c \uc2e4\ud589\uc2dc \uc790\ub3d9\uc73c\ub85c ssl\uc6a9 conf \uae4c\uc9c0 \uc0dd\uc131 \ubc0f \ubc1c\uae09\ub41c \uc778\uc99d\uc11c \ub2e4\uc6b4\ub85c\ub4dc\ub428.<br>nginx \uc0ac\uc6a9\uc790\ub294 &#8220;python3-certbot-nginx&#8221; \ub85c plugin\uc73c\ub85c \uc124\uce58 \ubcc0\uacbd.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\"># apt install certbot python3-certbot-apache<br>Reading package lists\u2026 Done<br>Building dependency tree<br>Reading state information\u2026 Done<br>Suggested packages:<br>python3-certbot-nginx python-certbot-doc python-certbot-apache-doc<br>The following NEW packages will be installed:<br>certbot python3-certbot-apache<br>0 upgraded, 2 newly installed, 0 to remove and 147 not upgraded.<br>Need to get 88.1 kB of archives.<br>After this operation, 481 kB of additional disk space will be used.<br>Get:1 http:\/\/ap-seoul-1-ad-1.clouds.archive.ubuntu.com\/ubuntu focal-updates\/universe amd64 certbot all 0.40.0-1ubuntu0.1 [17.9 kB]<br>Get:2 http:\/\/ap-seoul-1-ad-1.clouds.archive.ubuntu.com\/ubuntu focal\/universe amd64 python3-certbot-apache all 0.39.0-1 [70.2 kB]<br>Fetched 88.1 kB in 2s (44.2 kB\/s)<br>Selecting previously unselected package certbot.<br>(Reading database \u2026 226049 files and directories currently installed.)<br>Preparing to unpack \u2026\/certbot_0.40.0-1ubuntu0.1_all.deb \u2026<br>Unpacking certbot (0.40.0-1ubuntu0.1) \u2026<br>Selecting previously unselected package python3-certbot-apache.<br>Preparing to unpack \u2026\/python3-certbot-apache_0.39.0-1_all.deb \u2026<br>Unpacking python3-certbot-apache (0.39.0-1) \u2026<br>Setting up certbot (0.40.0-1ubuntu0.1) \u2026<br>Setting up python3-certbot-apache (0.39.0-1) \u2026<br>Processing triggers for man-db (2.9.1-1) \u2026<br>&#8230; (\uc0dd\ub7b5)<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">2. certbot \uc778\uc99d\uc11c \ub4f1\ub85d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"> # certbot &#8211;apache<br>apache plugin\uc744 \uc774\uc6a9\ud558\uc5ec \uc778\uc99d\uc11c \ubc1c\uae09 \ubc0f SSL config \uc0dd\uc131.<br><br> &#8211; \uc0ac\uc6a9\uc790 \uc774\uba54\uc77c \ud655\uc778 \/ \uc785\ub825<br>Enter email address (used for urgent renewal and security notices) (Enter &#8216;c&#8217; to<br>cancel): email@iwgh.my<br> &#8211; \uc57d\uad00\ub3d9\uc758<br>Please read the Terms of Service at &#8230;<br>You must agree in order to register with the ACME server at&#8230;<br>(A)gree\/(C)ancel: a<br> &#8211; \uc774\uba54\uc77c \uc18c\uc2dd \uad6c\ub3c5 \ud655\uc778 (no \ud574\ub3c4 \uc9c4\ud589\uac00\ub2a5)<br>Would you be willing to share your email address with the Electronic Frontier<br>Foundation, a founding partner of the Let&#8217;s Encrypt project and the non-profit<br>organization that develops Certbot? We&#8217;d like to send you email about our work<br>encrypting the web, EFF news, campaigns, and ways to support digital freedom.<br>(Y)es\/(N)o: n<br> &#8211; https \uc11c\ube44\uc2a4\ub97c \uc0ac\uc6a9\ud560 \uc6f9\uc11c\ubc84 \uc8fc\uc18c \uc120\ud0dd<br>Which names would you like to activate HTTPS for?<br>1: (website address)<br>Select the appropriate numbers separated by commas and\/or spaces, or leave input<br>blank to select all options shown (Enter &#8216;c&#8217; to cancel): 1<br> &#8211; \ud604\uc7ac apache \uc124\uc815 \ud655\uc778\ud558\uc5ec SSL vhost config \ud30c\uc77c \uc0dd\uc131<br>  \uc774\ud6c4 https\ub85c \uc790\ub3d9 redirect \uc120\ud0dd.<br>Created an SSL vhost at \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<br>&#8230;(\uc0dd\ub7b5)<br>Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.<br>1: No redirect &#8211; Make no further changes to the webserver configuration.<br>2: Redirect &#8211; Make all requests redirect to secure HTTPS access. Choose this for<br>new sites, or if you&#8217;re confident your site works on HTTPS. You can undo this<br>change by editing your web server&#8217;s configuration.<br>Select the appropriate number [1-2] then [enter] (press &#8216;c&#8217; to cancel): 2<br>Redirecting vhost in \/etc\/apache2\/sites-enabled\/000-default.conf to ssl vhost in \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">3. apache2 \uc6f9\uc11c\ubc84\uc5d0 \ub4f1\ub85d \ubc0f \uc7ac\uc2dc\uc791<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">sites-enable \uc5d0 \ub4f1\ub85d\uae4c\uc9c0 \uc790\ub3d9\uc73c\ub85c \ub418\ubbc0\ub85c apache SSL \ubaa8\ub4c8 enable, \uc7ac\uc2dc\uc791, \ubc29\ud654\ubcbd open \ud544\uc694.<br> # a2enmod ssl<br> # iptables -I INPUT 6 -m state &#8211;state NEW -p tcp &#8211;dport 443 -j ACCEPT<br>http\ub85c \uc811\uc18d\uc2dc https\ub85c \ub9ac\ub2e4\uc774\ub809\uc158 \ubc0f \uc815\uc0c1 \uc791\ub3d9\ud655\uc778<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">4. \uc815\uc0c1\uc5f0\uacb0 \uac80\uc99d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SSL \uc5f0\uacb0 \uc0c1\ud0dc \ubc0f config\ud655\uc778<br><a href=\"https:\/\/www.ssllabs.com\/ssltest\/analyze.html?d=owncloud.iwgh.my\">https:\/\/www.ssllabs.com\/ssltest\/analyze.html?d=<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-global-color-2-color\">MYURL<\/mark><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc778\uc99d\uc11c\ub294 \uae30\ubcf8\uc801\uc73c\ub85c 90\uc77c \uc9dc\ub9ac\ub85c \ubc1c\uae09\ub418\uba70 &#8220;certbot certificates&#8221; \uba85\ub839\uc5b4\ub85c \uc778\uc99d\uc11c \uc0c1\ud0dc \ud655\uc778 \uac00\ub2a5.<br>certbot renew \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 \uac31\uc2e0\uac00\ub2a5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc77c\ubc18\uc801\uc73c\ub85c apache\ub098 nginx\ub97c \ud1b5\ud574 \uc6f9\uc11c\ubc84\ub97c \uc62c\ub9ac\uba74 http \uc989 \uc554\ud638\ud654\ub418\uc9c0 \uc54a\ub294 \uc0ac\uc774\ud2b8\uac00 \uc2e4\ud589\ub41c\ub2e4.\ub2e8\uc21c\ud55c \ud398\uc774\uc9c0\ub77c\uba74 \ud06c\uac8c \uc0c1\uad00\uc774 \uc5c6\uaca0\uc73c\ub098 \uc815\ubcf4\ub97c \uc8fc\uace0 \ubc1b\ub294 \uc6f9\uc0ac\uc774\ud2b8\ub77c\uba74 \uc554\ud638\ud654\ub41c \uc5f0\uacb0\uc744 \uc0ac\uc6a9\ud574,\uc911\uac04\uc5d0 \uc81c3\uc790\uac00 \ud328\ud0b7\uc744 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":622,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,18,1],"tags":[117,208],"class_list":["post-620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gossip","category-small","category-tech","tag-config","tag-https"],"_links":{"self":[{"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=620"}],"version-history":[{"count":4,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/620\/revisions"}],"predecessor-version":[{"id":625,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/posts\/620\/revisions\/625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=\/wp\/v2\/media\/622"}],"wp:attachment":[{"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iwgh.duckdns.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}