{"id":7609,"date":"2022-05-29T18:18:35","date_gmt":"2022-05-29T09:18:35","guid":{"rendered":"https:\/\/www.auctionpro.co.kr\/?p=7609"},"modified":"2026-02-23T18:46:36","modified_gmt":"2026-02-23T09:46:36","slug":"ubuntu","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=7609","title":{"rendered":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Ubuntu ftp \ub514\ub809\ud1a0\ub9ac \/ \uc811\uc18d\uacc4\uc815 \uc138\ud305<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"557\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png\" alt=\"\" class=\"wp-image-7611\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png 721w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall-300x232.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">1.\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo mkdir \/var\/myftp<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2.\uacc4\uc815 \ucd94\uac00<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo useradd -c myftp_20220522 -d \/var\/myftp -s \/usr\/sbin\/nologin -p passwd myid\n\n-c \ucef4\uba58\ud2b8 \n-d \uacc4\uc815 \ub514\ub809\ud1a0\ub8b0\n-s \uacc4\uc815\uc0ac\uc6a9\uad8c\ud55c (putty \uc811\uc18d \uc5c6\uc774 ftp\ub9cc \uc0ac\uc6a9)\n-p \ud328\uc2a4\uc6cc\ub4dc(\ub2e4\uc2dc \uc138\ud305\ud560 \uc608\uc815) <\/pre><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h5 class=\"wp-block-heading\">\/usr\/sbin\/nologin  \ucd94\uac00\ub418\uc5c8\ub294\uc9c0 \ud655\uc778 \ud544\uc694<\/h5>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-auctionpro wp-block-embed-auctionpro\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"iL1CEe3dZE\"><a href=\"https:\/\/www.auctionpro.co.kr\/?p=7324\">shell \uc758 \uc885\ub958 \ubc0f \ucd94\uac00<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;shell \uc758 \uc885\ub958 \ubc0f \ucd94\uac00&#8221; &#8212; AuctionPro\" src=\"https:\/\/www.auctionpro.co.kr\/?p=7324&#038;embed=true#?secret=oPcRvENzwp#?secret=iL1CEe3dZE\" data-secret=\"iL1CEe3dZE\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3.\uacc4\uc815 \ube44\ubc88 \uc0c8\ub85c \ubcc0\uacbd<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo passwd myid\nNew password:\nRetype new password:\npasswd: password updated successfully\n<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4.\uacc4\uc815 \uc0dd\uc131 \ud655\uc778<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo cat \/etc\/passwd\n  :: \uc911\ub7b5 ::\navahi:x:108:113:Avahi mDNS daemon,,,:\/run\/avahi-daemon:\/usr\/sbin\/nologin\nsystemd-coredump:x:996:996:systemd Core Dumper:\/:\/usr\/sbin\/nologin\nftp:x:109:117:ftp daemon,,,:\/srv\/ftp:\/usr\/sbin\/nologin\nmyid:x:1001:1001:myftp_20220522:\/var\/myftp:\/usr\/sbin\/nologin\n\n#\ub9c8\uc9c0\ub9c9\uc5d0 \uc0dd\uc131\ub41c \uac83\uc744 \ud655\uc778 \ud560\uc218 \uc788\ub2e4.<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5.\ub514\ub809\ud1a0\ub9ac \uacc4\uc815 \uad8c\ud55c\uc73c\ub85c \uc138\ud305<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo usermod -a -G www-data myid  #\uacc4\uc815 \uadf8\ub8f9\uc124\uc815 \n\nsudo cat \/etc\/group  #\uadf8\ub8f9 \ud655\uc778 \n\nsudo chown -R myid:www-data \/var\/myftp  #\ub514\ub809\ud1a0\ub9ac \uacc4\uc815:\uadf8\ub8f9\uc124\uc815 \n\nsudo chmod -R 777 \/var\/myftp   #\ub514\ub809\ud1a0\ub9ac \ubaa8\ub4e0 \uc4f0\uae30 \uad8c\ud55c\uc8fc\uae30 <\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6.\uae30\ud0c0 \uc124\uc815<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo chsh -s \/usr\/sbin\/nologin myid  #nologin \uc258\ubcc0\uacbd\nsudo chsh -s \/bin\/sh myid           # sh \uc258\ub85c \ubcc0\uacbd\nsudo usermod -d \/var\/var\/myid       # \uacc4\uc815 \ub514\ub809\ud1a0\ub9ac \ubcc0\uacbd\n\nsudo userdel username                # \uacc4\uc815 \uc0ad\uc81c\n\nsudo rm -r \/home\/username            # \ub514\ub809\ud1a0\ub9ac \ubaa8\ub450 \uc0ad\uc81c<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Ubuntu SSL <\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_All.png\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"557\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_All.png\" alt=\"\" class=\"wp-image-7620\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_All.png 721w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_All-300x232.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">7.SSL \uc124\uce58 <\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\uc77c\ubc18 FTP \ub294 \uc554\ud638\ud654\uac00 \ub418\uc9c0 \uc54a\uc740 \ud328\ud0b7\uc774 \uc624\uac00\ub294 \ub4f1\uc758 \ubcf4\uc548 \ubb38\uc81c\uac00 \uc788\uc73c\ub2c8<br>vsftpd \uc758 SFTP + SSL\/TLS \ub85c \uc11c\ube44\uc2a4\ub97c \uad6c\uc131\ud574 \ubd05\ub2c8\ub2e4.<\/h4>\n\n\n\n<h3 class=\"wp-block-heading has-vivid-red-color has-text-color\">\uc544\ub798 \uc124\uce58 \uc5c6\uc774 \uae30\uc874 \uc124\uce58\ub418\uc5b4 \uc788\ub294 SSL\/TLS \ub97c \uc0ac\uc6a9\ud574\ub3c4 \ub41c\ub2e4.<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout \/etc\/ssl\/certs\/vsftpd.key -out \/etc\/ssl\/certs\/vsftpd.pem\n\n#\uc124\uce58 \ub514\ub809\ud1a0\ub9ac : \/etc\/ssl\/certs\/ \ub85c \ud588\ub2e4. <\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8.SSL RSA \uc4f0\uae30 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout \/etc\/ssl\/certs\/vsftpd.key -out \/etc\/ssl\/certs\/vsftpd.pem\nGenerating a RSA private key\n......................+++++\n..................................+++++\nwriting new private key to '\/etc\/ssl\/certs\/vsftpd.pem'\n-----\nYou are about to be asked to enter information that will be incorporated\ninto your certificate request.\nWhat you are about to enter is what is called a Distinguished Name or a DN.\nThere are quite a few fields but you can leave some blank\nFor some fields there will be a default value,\nIf you enter '.', the field will be left blank.\n-----\nCountry Name (2 letter code) [AU]:KR\nState or Province Name (full name) [Some-State]:\nLocality Name (eg, city) []:SEOUL\nOrganization Name (eg, company) [Internet Widgits Pty Ltd]:MYHOME\nOrganizational Unit Name (eg, section) []:HOME\nCommon Name (e.g. server FQDN or YOUR name) []:HONGGILDONG\nEmail Address []:admin@auctionpro.co.kr<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">9.SSL \uc124\uce58 \ud655\uc778  <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ cd \/etc\/ssl\/certs\/\n\n\/etc\/ssl\/certs $ ls\n::\uc911\ub7b5::\n vsftpd.pem<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">10.vsftpd \uc124\uce58<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo apt install vsftpd<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">11.vsftpd \uae30\ud0c0 \uba85\ub839\uc5b4<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo nano \/etc\/vsftpd.conf    # config \uc138\ud305 \uc704\uce58\n\n$ sudo systemctl enable vsftpd  # \ubd80\ud305\uc2dc \uc790\ub3d9 \uc2e4\ud589\n\n$ sudo systemctl stop vsftpd    # \uc911\uc9c0 \n\n$ sudo systemctl start vsftpd   # \uc2dc\uc791\n\n$ sudo systemctl restart vsftpd  # \uc7ac \uc2dc\uc791\n\n\n\n<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">vsftpd Config<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_Config.png\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"557\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_Config.png\" alt=\"\" class=\"wp-image-7628\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_Config.png 721w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_Config-300x232.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">12.vsftp config<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\uc77c\ubc18 FTP \ub294 \uc554\ud638\ud654\uac00 \ub418\uc9c0 \uc54a\uc740 \ud328\ud0b7\uc774 \uc624\uac00\ub294 \ub4f1\uc758 \ubcf4\uc548 \ubb38\uc81c\uac00 \uc788\uc73c\ub098<br>ftp \ub85c\ub9cc \uba3c\uc800 \uad6c\uc131\ud574 \ubd05\ub2c8\ub2e4.<\/h4>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo nano \/etc\/vsftpd.conf\n\nlisten=NO =&gt; YES\n\n#listen_ipv6=YES # \uc8fc\uc11d\ucc98\ub9ac \n\nanonymous_enable=NO #\ud56d\uc0c1 NO\n\nwrite_enable=YES #\uc8fc\uc11d\ud480\uae30\n\nchroot_local_user=YES # \uc8fc\uc11d\ud480\uae30\n\npam_service_name=vsfptd\n\nssl_enable=NO  # ssl \n\n#\uc544\ub798 \ucd94\uac00 \nforce_dot_files=YES\nhide_ids=YES\nmax_per_ip=10\nmax_clients=100\nallow_writeable_chroot=YES\n<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">12.\/etc\/pam.d\/vsftpd (\ud544\uc694\uc2dc)<\/h2>\n\n\n\n<p>pam_shells.so \ub77c\uc778 \uc8fc\uc11d\ucc98\ub9ac \/\/ \uacc4\uc815\uc774 nologin \uc138\ud305\uc2dc<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">sudo vi  \/etc\/pam.d\/vsftpd\n\n#auth    required        pam_shells.so<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">13.vsftp \uc7ac\uc2dc\uc791<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ sudo systemctl stop vsftpd\n$ sudo systemctl start vsftpd\n<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.\ub124\ud2b8\uc6cc\ud06c \ud655\uc778 (tcp 21\ud3ec\ud2b8\uac00 \uc548\ubcf4\uc784) <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ netstat -tnlp\n(Not all processes could be identified, non-owned process info\n will not be shown, you would have to be root to see it all.)\nActive Internet connections (only servers)\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID\/Program name\ntcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -\ntcp6       0      0 :::445                  :::*                    LISTEN      -\ntcp6       0      0 :::22                   :::*                    LISTEN      -\ntcp6       0      0 :::139                  :::*                    LISTEN      -<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">14.tcp 21\ud3ec\ud2b8 \uc811\uc18d \ud5c8\uc6a9\ud558\uae30 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo nano \/etc\/vsftpd.conf\n\npam_service_name=ftp  #vsftpd\uc5d0\uc11c ftp \ub85c \ubcc0\uacbd SSL\uc9c0\uc6d0 \uc548\ud568\n\nrsa_cert_file=\/etc\/ssl\/certs\/vsftpd.pem  #\uc8fc\uc11d\ucc98\ub9ac SSL\nrsa_private_key_file=\/etc\/ssl\/certs\/vsftpd.pem #\uc8fc\uc11d\ucc98\ub9ac SSL\n\nssl_enable=NO   # YES =&gt; NO \ubcc0\uacbd SSL\uc9c0\uc6d0 \uc548\ud568<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">15.\ub124\ud2b8\uc6cc\ud06c \ud655\uc778 (tcp 21\ud3ec\ud2b8  \ud655\uc778\ud558\uae30) : \uc77c\ubc18 ftp \uc811\uc18d\ub9cc \uac00\ub2a5 <\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$ netstat -tnlp\n(Not all processes could be identified, non-owned process info\n will not be shown, you would have to be root to see it all.)\nActive Internet connections (only servers)\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID\/Program name\ntcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -\ntcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -\ntcp6       0      0 :::445                  :::*                    LISTEN      -\ntcp6       0      0 :::22                   :::*                    LISTEN      -\ntcp6       0      0 :::139                  :::*                    LISTEN      -<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">16. filezilla \ub85c \uc5f0\uacb0 \ud655\uc778 (\ubcf4\uc548 \ucde8\uc57d)<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/filezillar02.png\"><img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"770\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/filezillar02.png\" alt=\"\" class=\"wp-image-7639\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/filezillar02.png 896w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/filezillar02-300x258.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/filezillar02-768x660.png 768w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">vsftpd \ud3ec\ud2b8 \ubcc0\uacbd<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_port.png\"><img loading=\"lazy\" decoding=\"async\" width=\"721\" height=\"557\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_port.png\" alt=\"\" class=\"wp-image-7670\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_port.png 721w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_port-300x232.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">17.port \uc11c\ubc84\uc2a4 \ubcc0\uacbd (\uc548\ud574\ub3c4 \ub429\ub2c8\ub2e4)<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo nano \/etc\/services\n \nftp 21\/tcp =&gt; ftp 54021\/tcp   # 54021\ub85c \ubcc0\uacbd<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">18. \ub124\ud2b8\uc6cc\ud06c \uc7ac\uc2dc\uc791<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo systemctl restart systemd-networkd<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">19. vsftp config passive \ud3ec\ud2b8 \ucd94\uac00<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo nano \/etc\/vsftpd.conf\n# \ucd94\uac00 \nlisten_port=54021  # \ucd5c\ucd08 \uc811\uc18d \ud3ec\ud2b8 \npasv_min_port=54022  # passive \uc2dc\uc791 \ud3ec\ud2b8  (\ubc88\uc704\uac00 \ub113\uc5b4\uc57c \uc5ec\ub7ec\ud3f4\ub354\/\uc5ec\ub7ec\uba85 \uc811\uc18d \uac00\ub2a5)\npasv_max_port=54030  # passive \ub9c8\uc9c0\ub9c9 \ud3ec\ud2b8 \npasv_address= {Server IP}  #\uc11c\ubc84IP\npasv_addr_resolve=YES\npasv_enable=YES\nlog_ftp_protocol=YES<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">20.vsftpd \uc7ac\uc2dc\uc791<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo systemctl restart vsftpd<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">21.filezilla \ub85c ftp \uc5f0\uacb0 \ud655\uc778 (port 54021)<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_54021.png\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"663\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_54021.png\" alt=\"\" class=\"wp-image-7672\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_54021.png 875w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_54021-300x227.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_54021-768x582.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">=&gt; \uc811\uc18d\uc740 \ub418\ub098 \uc77c\ubc18 ftp\ub85c \uc811\uc18d : TLS \uc554\ud638\ud654\uac00 \uc9c0\uc6d0 \ub418\uc9c0 \uc54a\ub294\ub2e4\uace0 \ub098\uc634<\/h4>\n\n\n\n<h3 class=\"wp-block-heading\">22. SSL\/TLS \uc9c0\uc6d0\ud558\uae30<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$sudo nano \/etc\/vsftpd.conf\n\npam_service_name=vsftpd     #ftp \uc5d0\uc11c vsftpd\ub85c \ubcc0\uacbd SSL\uc9c0\uc6d0\n\nrsa_cert_file=\/etc\/ssl\/certs\/vsftpd.pem  #\uc8fc\uc11d\ud488\ucc98\ub9ac SSL\nrsa_private_key_file=\/etc\/ssl\/certs\/vsftpd.pem #\uc8fc\uc11d\ud488 SSL\n\nssl_enable=YES   #NO =&gt; YES \ubcc0\uacbd SSL\uc9c0\uc6d0 <\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">23.filezilla \ub85c vsftpd \uc5f0\uacb0 \ud655\uc778 (TLS\/ port 54021)<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_TLS.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"691\" src=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_TLS.png\" alt=\"\" class=\"wp-image-7673\" srcset=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_TLS.png 1016w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_TLS-300x204.png 300w, https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/06\/vsftpd_TLS-768x522.png 768w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\ub85c\uadf8\uc778\uc740 \ub418\uc9c0 \uc54a\uc744 \uac83\uc774\ub2e4. <\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\uba3c\uc800 TLS1.3 \uc744 \uc9c0\uc6d0\ud558\ub294\uc9c0 \ud655\uc778 \ud574\uc57c \ud55c\ub2e4.<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \">$vsftpd -version\n\nvsftpd: version 3.0.3\n<\/pre><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" title=\"openssl s_client -connect 127.0.0.1:54021\">$ openssl s_client -connect 127.0.0.1:54021\n\nCONNECTED(00000003)\n139885418579856:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:\n---\nno peer certificate available\n---\nNo client certificate CA names sent\n---\nSSL handshake has read 7 bytes and written 289 bytes\n---\nNew, (NONE), Cipher is (NONE)\nSecure Renegotiation IS NOT supported\nCompression: NONE\nExpansion: NONE\nNo ALPN negotiated\nSSL-Session:\n    Protocol  : TLSv1.2\n    Cipher    : 0000\n    Session-ID:\n    Session-ID-ctx:\n    Master-Key:\n    Key-Arg   : None\n    Krb5 Principal: None\n    PSK identity: None\n    PSK identity hint: None\n    Start Time: 1654820405\n    Timeout   : 300 (sec)\n    Verify return code: 0 (ok)\n---\n<\/pre><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" title=\"openssl s_client -connect 127.0.0.1:54021\">$openssl s_client -connect 127.0.0.1:54021\n\nCONNECTED(00000003)\n139962708075840:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:..\/ssl\/record\/ssl3_record.c:3\n---\nno peer certificate available\n---\nNo client certificate CA names sent\n---\nSSL handshake has read 5 bytes and written 293 bytes\nVerification: OK\n---\nNew, (NONE), Cipher is (NONE)\nSecure Renegotiation IS NOT supported\nCompression: NONE\nExpansion: NONE\nNo ALPN negotiated\nEarly data was not sent\nVerify return code: 0 (ok)\n---\n<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\uacc4\uc18d \uae00 \uc801\uae30<\/h2>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Ubuntu ftp \ub514\ub809\ud1a0\ub9ac \/ \uc811\uc18d\uacc4\uc815 \uc138\ud305 1.\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131 2.\uacc4\uc815 \ucd94\uac00 \/usr\/sbin\/nologin \ucd94\uac00\ub418\uc5c8\ub294\uc9c0 \ud655\uc778 \ud544\uc694 3.\uacc4\uc815 \ube44\ubc88 \uc0c8\ub85c \ubcc0\uacbd 4.\uacc4\uc815 \uc0dd\uc131 \ud655\uc778 5.\ub514\ub809\ud1a0\ub9ac \uacc4\uc815 \uad8c\ud55c\uc73c\ub85c \uc138\ud305 <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=7609\" title=\"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-7609","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.auctionpro.co.kr\/?p=7609\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro\" \/>\n<meta property=\"og:description\" content=\"Ubuntu ftp \ub514\ub809\ud1a0\ub9ac \/ \uc811\uc18d\uacc4\uc815 \uc138\ud305 1.\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131 2.\uacc4\uc815 \ucd94\uac00 \/usr\/sbin\/nologin \ucd94\uac00\ub418\uc5c8\ub294\uc9c0 \ud655\uc778 \ud544\uc694 3.\uacc4\uc815 \ube44\ubc88 \uc0c8\ub85c \ubcc0\uacbd 4.\uacc4\uc815 \uc0dd\uc131 \ud655\uc778 5.\ub514\ub809\ud1a0\ub9ac \uacc4\uc815 \uad8c\ud55c\uc73c\ub85c \uc138\ud305 [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.auctionpro.co.kr\/?p=7609\" \/>\n<meta property=\"og:site_name\" content=\"AuctionPro\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-29T09:18:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-23T09:46:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png\" \/>\n\t<meta property=\"og:image:width\" content=\"721\" \/>\n\t<meta property=\"og:image:height\" content=\"557\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"golgol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"golgol\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609\"},\"author\":{\"name\":\"golgol\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"headline\":\"ubuntu vsftpd SSL\\\/TLS\ub85c \uc811\uc18d \ud558\uae30\",\"datePublished\":\"2022-05-29T09:18:35+00:00\",\"dateModified\":\"2026-02-23T09:46:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609\"},\"wordCount\":69,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/vsftpd_directoryall.png\",\"articleSection\":[\"[OS]Ubuntu\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609\",\"name\":\"ubuntu vsftpd SSL\\\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/vsftpd_directoryall.png\",\"datePublished\":\"2022-05-29T09:18:35+00:00\",\"dateModified\":\"2026-02-23T09:46:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#primaryimage\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/vsftpd_directoryall.png\",\"contentUrl\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/vsftpd_directoryall.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=7609#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu vsftpd SSL\\\/TLS\ub85c \uc811\uc18d \ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\",\"name\":\"AuctionPro\",\"description\":\"\uc625\uc158\ud504\ub85c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\",\"name\":\"golgol\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?author=6\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.auctionpro.co.kr\/?p=7609","og_locale":"ko_KR","og_type":"article","og_title":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro","og_description":"Ubuntu ftp \ub514\ub809\ud1a0\ub9ac \/ \uc811\uc18d\uacc4\uc815 \uc138\ud305 1.\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131 2.\uacc4\uc815 \ucd94\uac00 \/usr\/sbin\/nologin \ucd94\uac00\ub418\uc5c8\ub294\uc9c0 \ud655\uc778 \ud544\uc694 3.\uacc4\uc815 \ube44\ubc88 \uc0c8\ub85c \ubcc0\uacbd 4.\uacc4\uc815 \uc0dd\uc131 \ud655\uc778 5.\ub514\ub809\ud1a0\ub9ac \uacc4\uc815 \uad8c\ud55c\uc73c\ub85c \uc138\ud305 [...]","og_url":"https:\/\/www.auctionpro.co.kr\/?p=7609","og_site_name":"AuctionPro","article_published_time":"2022-05-29T09:18:35+00:00","article_modified_time":"2026-02-23T09:46:36+00:00","og_image":[{"width":721,"height":557,"url":"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png","type":"image\/png"}],"author":"golgol","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"golgol","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#article","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609"},"author":{"name":"golgol","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"headline":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30","datePublished":"2022-05-29T09:18:35+00:00","dateModified":"2026-02-23T09:46:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609"},"wordCount":69,"commentCount":0,"image":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#primaryimage"},"thumbnailUrl":"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png","articleSection":["[OS]Ubuntu"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.auctionpro.co.kr\/?p=7609#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.auctionpro.co.kr\/?p=7609","url":"https:\/\/www.auctionpro.co.kr\/?p=7609","name":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30 - AuctionPro","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#primaryimage"},"image":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#primaryimage"},"thumbnailUrl":"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png","datePublished":"2022-05-29T09:18:35+00:00","dateModified":"2026-02-23T09:46:36+00:00","author":{"@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"breadcrumb":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.auctionpro.co.kr\/?p=7609"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#primaryimage","url":"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png","contentUrl":"https:\/\/www.auctionpro.co.kr\/wp-content\/uploads\/2022\/05\/vsftpd_directoryall.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.auctionpro.co.kr\/?p=7609#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/www.auctionpro.co.kr\/"},{"@type":"ListItem","position":2,"name":"ubuntu vsftpd SSL\/TLS\ub85c \uc811\uc18d \ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/www.auctionpro.co.kr\/#website","url":"https:\/\/www.auctionpro.co.kr\/","name":"AuctionPro","description":"\uc625\uc158\ud504\ub85c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.auctionpro.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2","name":"golgol","url":"https:\/\/www.auctionpro.co.kr\/?author=6"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7609"}],"version-history":[{"count":2,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7609\/revisions"}],"predecessor-version":[{"id":10048,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7609\/revisions\/10048"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}