LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2018, 01:29 AM   #1
peterdin
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Rep: Reputation: Disabled
How to configure FTPS service on Linux 7.2


Dear All,

I need to know how to configure the FTPS service on Linux 7.2

Thanks
 
Old 06-20-2018, 01:36 AM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
By reading this first.

And then, maybe refer to this.
 
1 members found this post helpful.
Old 06-20-2018, 07:13 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by peterdin View Post
Dear All,
I need to know how to configure the FTPS service on Linux 7.2
Read the "Question Guidelines" link in my posting signature. You've been a member here for five years now, so you should know you need to provide details, and show effort first, before posting. You say "Linux 7.2"...WHICH Linux 7.2? RHEL? CentOS? Really old Fedora, openSUSE, Mandrake what???? And have you tried to look this up? Because putting "how to configure ftps on linux" into Google pulls up MANY how-to guides.

We're happy to help with actual problems/questions, but don't ask us to look things up for you.
 
1 members found this post helpful.
Old 06-20-2018, 10:23 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
as above there is no operating system called " 7.2"

if this is Cent OS 7.2
you can not do much of anything
it is UNSUPPORTED !! nothing to install and no updates for a few years

install CentOS 7.5 ( or is it still 7.4 with 7.5 do any day now ? )

THEM configure ftp on a FULLY patched and updated system
 
1 members found this post helpful.
Old 06-21-2018, 12:58 AM   #5
peterdin
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Honest Abe View Post
By reading this first.

And then, maybe refer to this.
I will try this this and get back with result. Thanks
 
Old 06-28-2018, 12:32 AM   #6
peterdin
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi,

I have done all this:-

-----------------------
rpmquery vsftpd
service vsftpd restart



Create certificate

cd /etc/vsftpd

openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout vsftpd.pem -out vsftpd.pem

ls -l

it creates vsftpd.pem file in current folder

vi vsftpd.conf

go to bottom add this

#for ftps

ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
rsa_cert_file=/etc/vsftpd/vsftpd.pem

wq!

service vsftpd restart
chkconfig vsftpd on

netstat -tulnp | grep 21

it should show port 21



Extra:-

also make sure that

getsebool -a | grep ftp

ftp_home_dir--> shuould be on


Now how to make sure that FTPS is configured on Linux system without trying from another system, is there any way?

Thanks
 
Old 06-28-2018, 01:44 AM   #7
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Create a VM or try from your Mobile's browser.
Most mainstream browsers, have ftp (unsure about ftps)support.
(Personally haven't tried this way though)
 
Old 06-28-2018, 09:57 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
can you post the output of this command please
Code:
cat /etc/redhat-release



also be aware that CentOS 7.2 went END OF LIFE back in May of 2016

you would NOT use a Microsoft OS that is missing 2 YEARS!!!!!! of security updates
so do not use a linux OS that is missing TWO YEARS OF SECURITY UPDATES!!!

Please install / or upgrade to CentOS 7.5 ASAP!!!!

Then secure a FTP-S install

Last edited by John VV; 06-28-2018 at 10:16 AM.
 
Old 07-04-2018, 11:55 AM   #9
peterdin
LQ Newbie
 
Registered: Oct 2013
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
can you post the output of this command please
Code:
cat /etc/redhat-release



also be aware that CentOS 7.2 went END OF LIFE back in May of 2016

you would NOT use a Microsoft OS that is missing 2 YEARS!!!!!! of security updates
so do not use a linux OS that is missing TWO YEARS OF SECURITY UPDATES!!!

Please install / or upgrade to CentOS 7.5 ASAP!!!!

Then secure a FTP-S install
redhat realease RHEL 7.2
 
Old 07-04-2018, 01:20 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
upgrade to RHEL 7.5 ASAP first

then configure the secure ftp server
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Linux FTP Client as like FTPS on Windows ? aullah Linux - Newbie 2 04-20-2011 03:06 PM
how to configure bind service in linux 5.0 mksharma85 Linux - Newbie 4 06-28-2008 04:42 AM
Best way to configure a linux workstation to log in and view Novell directory service csm0004 Linux - Networking 1 04-08-2004 12:21 AM
How to configure a ftps (secure) server? XWolf Linux - Networking 1 10-01-2003 08:07 AM
How to configure another pop3 service in linux box venugopalmk Linux - Networking 3 04-17-2003 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration