课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Install packages for encrypted websites

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.

内容