Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering CentOS 7 Linux Server

You're reading from   Mastering CentOS 7 Linux Server

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher Packt
ISBN-13 9781785282393
Length 298 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
 Alibi Alibi
Author Profile Icon Alibi
Alibi
BHASKARJYOTI ROY BHASKARJYOTI ROY
Author Profile Icon BHASKARJYOTI ROY
BHASKARJYOTI ROY
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Mastering CentOS 7 Linux Server
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Advanced User Management FREE CHAPTER 2. Security 3. Linux for Different Purposes 4. Mail Server with Postfix 5. Monitoring and Logging 6. Virtualization 7. Cloud Computing 8. Configuration Management 9. Some Additional Tricks and Tools Index

Securing Apache and FTP with OpenSSL


Most services provided around the world are very attractive to hackers to attack and steal valuable information or to block its activity. In this section we are going to present a solution that helps secure two of the most commonly used services (HTTPFTP). This solution is OpenSSL as an open source toolkit implementing the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols as well as a robust cryptography library.

We will start with the implementation of OpenSSL for FTP file transfer to make it more secure. First, we need to ensure OpenSSL is installed on our system:

$ sudo yum install openssl

Then we start configuring the service to work with our FTP server VSFTPD. So we need to create an SSL certificate to use with TLS since it the latest most secure technology created. To do so we need to create a folder to store the files to be generated using SSL:

$ sudo mkdir /etc/ssl/private

Then we create the certificate with the keys:

$ sudo...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images