From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install packages for encrypted websites

Install packages for encrypted websites - Red Hat Enterprise Linux Tutorial

From the course: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

Start my 1-month free trial

Install packages for encrypted websites

- [Instructor] We only need to install two additional packages for setting up secure websites, and they may be installed already, but we'll make sure. You'll want to be logged into rhhost1 with the Terminal open. Type in sudo yum install - y mod_ssl openssl, and hit Enter. Odds are the openssl package is already installed, but it may be updated with this command. The mod_ssl package is an Apache loadable module that adds support for encrypted websites. It will also add a configuration file to Apache's conf.d directory. Let's take a look. Type in clear, and then type in less /etc/httpd/conf.d/ssl.conf, and hit Enter. This sets up some Apache configuration directives including an encrypted VirtualHost. If we scroll down, we can see that near the middle. Although we can use this as an example, we'll set up our own encrypted VirtualHost later in the chapter.

Contents