{"id":444,"date":"2017-02-01T21:00:56","date_gmt":"2017-02-01T12:00:56","guid":{"rendered":"https:\/\/blog.chanha.me\/?p=444"},"modified":"2017-02-01T22:52:40","modified_gmt":"2017-02-01T13:52:40","slug":"ftpsftpssl-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/blog.chanha.kr\/?p=444","title":{"rendered":"FTPS(FTP+SSL) \uc124\uc815"},"content":{"rendered":"<p>\uc77c\ubc18 FTP\ub294 \ubcf4\uc548 \ud504\ud1a0\ucf5c\uc774 \uc804\ud600 \uc801\uc6a9\ub418\uc5b4 \uc788\uc9c0 \uc54a\uae30\ub54c\ubb38\uc5d0 \uc545\uc758\uc801\uc778 \uacf5\uaca9\uc5d0 \uc758\ud574 \ub178\ucd9c\ub420 \uc218 \uc788\ub2e4.<\/p>\n<p>\uadf8\ub798\uc11c SSL\uc744 \uc774\uc6a9\ud55c \ubcf4\uc548 \ud504\ub85c\ud1a0\ucf5c\uc744 \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\ub3c4\ub85d \ud558\uaca0\ub2e4.<\/p>\n<p>\uae30\uc874\uc758 vsftpd\uc758 \uc124\uc815\uc5d0\uc11c \uba87\uac00\uc9c0\ub9cc \ubcc0\uacbd\ud574\uc8fc\uba74 \uac04\ub2e8\ud558\uac8c FTPS\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c<\/p>\n<p>\ubcf4\uc548\uc774 \uc5fc\ub824\ub418\ub294 \uc0ac\uc6a9\uc790\ub294 \uc801\uc6a9\ud558\uae38 \ubc14\ub780\ub2e4.<\/p>\n<blockquote><p><a href=\"http:\/\/egloos.zum.com\/doodoodoo\/v\/1377894\" target=\"_blank\">FTP \ubcf4\uc548 \ud504\ub85c\ud1a0\ucf5c(SFTP, Secure FTP, FTPS)<\/a><\/p><\/blockquote>\n<p>\uc6b0\uc120\uc801\uc73c\ub85c pem\ud0a4\ub97c \uc800\uc7a5\ud560 \uc704\uce58\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud574<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:sh decode:true\">sudo mkdir -p \/etc\/vsftpd\/ssl\r\n\r\nsudo chmod 700 \/etc\/vsftpd\/ssl<\/pre>\n<p>\uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud55c\ub2e4.<\/p>\n<pre class=\"lang:sh decode:true\">sudo openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout \/etc\/vsftpd\/ssl\/vsftpd.pem -out \/etc\/vsftpd\/ssl\/vsftpd.pem<\/pre>\n<p>\uadf8 \ud6c4 openssl\uc744 \ud1b5\ud574\uc11c vsftpd.pem\ud0a4\ub97c \uc0dd\uc131\ud55c\ub2e4.<\/p>\n<blockquote><p>\ub9cc\uc57d openssl\uc774 \uc5c6\ub2e4\uba74<\/p>\n<pre class=\"lang:sh decode:true\">sudo apt-get install libssl-dev openssl<\/pre>\n<p>\uba85\ub839\uc5b4\ub97c \ud1b5\ud574 \uc124\uce58\ud574\uc900\ub2e4.<\/p><\/blockquote>\n<p>\uadf8 \ud6c4 vsftpd\uc124\uc815\ud30c\uc77c\uc744 \uc5f4\uc5b4\uc900 \ub4a4,<\/p>\n<pre class=\"lang:sh decode:true\">sudo vim \/etc\/vsftpd.conf<\/pre>\n<p>\uc544\ub798\uc758 \uc124\uc815\uc744 \ucd94\uac00\ud574\uc900\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:vim decode:true\">ssl_enable=YES\r\n\r\nallow_anon_ssl=NO\r\n\r\nforce_local_data_ssl=YES\r\n\r\nforce_local_logins_ssl=YES\r\n\r\nssl_tlsv1=YES\r\n\r\nssl_sslv2=NO\r\n\r\nssl_sslv3=NO\r\n\r\nssl_ciphers=HIGH\r\n\r\nrequire_ssl_reuse=NO\r\n\r\nrsa_cert_file=\/etc\/vsftpd\/ssl\/vsftpd.pem<\/pre>\n<p>\uadf8 \ud6c4,<\/p>\n<pre class=\"lang:sh decode:true \">sudo \/etc\/init.d\/vsftpd restart<\/pre>\n<p>\ub97c \ud1b5\ud574 vsftpd\ub97c \uc7ac\uc2dc\uc791\ud574\uc900 \ub4a4,<\/p>\n<p>Filezila\uc640 \uac19\uc740 FTPS\ub97c \uc9c0\uc6d0\ud574\uc8fc\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8\ub97c \ud1b5\ud574 \uc811\uc18d\ud558\uba74 \ub41c\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc77c\ubc18 FTP\ub294 \ubcf4\uc548 \ud504\ud1a0\ucf5c\uc774 \uc804\ud600 \uc801\uc6a9\ub418\uc5b4 \uc788\uc9c0 \uc54a\uae30\ub54c\ubb38\uc5d0 \uc545\uc758\uc801\uc778 \uacf5\uaca9\uc5d0 \uc758\ud574 \ub178\ucd9c\ub420 \uc218 \uc788\ub2e4. \uadf8\ub798\uc11c SSL\uc744 \uc774\uc6a9\ud55c \ubcf4\uc548 \ud504\ub85c\ud1a0\ucf5c\uc744 \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\ub3c4\ub85d \ud558\uaca0\ub2e4. \uae30\uc874\uc758 vsftpd\uc758 \uc124\uc815\uc5d0\uc11c \uba87\uac00\uc9c0\ub9cc \ubcc0\uacbd\ud574\uc8fc\uba74 \uac04\ub2e8\ud558\uac8c FTPS\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \ubcf4\uc548\uc774 \uc5fc\ub824\ub418\ub294 \uc0ac\uc6a9\uc790\ub294 \uc801\uc6a9\ud558\uae38 \ubc14\ub780\ub2e4. FTP \ubcf4\uc548 \ud504\ub85c\ud1a0\ucf5c(SFTP, Secure FTP, FTPS) \uc6b0\uc120\uc801\uc73c\ub85c pem\ud0a4\ub97c \uc800\uc7a5\ud560 \uc704\uce58\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud574 &nbsp; sudo mkdir -p \/etc\/vsftpd\/ssl sudo chmod 700 \/etc\/vsftpd\/ssl \uba85\ub839\uc5b4\ub97c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-nas","clearfix"],"_links":{"self":[{"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":4,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chanha.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}