Red Hat SATELLITE 5.1.0 RELEASE NOTES Manual de instalación Pagina 181

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 268
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 180
Chapter 12. Cloning open source virtual servers 163
12.1.4 Configuring SSL for Apache
Use the Secure Sockets Layer (SSL) to encrypt data between the client (browser) and the
server. This is done by specifying an https prefix in the URL which uses port 443, rather than
using the conventional http prefix which uses port 80.
To use SSL, the mod_ssl package is required. You can demonstrate that SSL
communications do not work by changing http to https in your browser:
https://<9.12.5.31>/
Click reload in your browser; you should receive a communications error.
Installing the SSL Apache module
RHEL 5.2 makes it very easy to install and enable SSL support for Apache. Install the
mod_ssl RPM using the yum -y install command:
# yum -y install mod_ssl
...
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 212 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: distcache ######################### [1/2]
Installing: mod_ssl ######################### [2/2]
Installed: mod_ssl.s390x 1:2.2.3-6.el5
Dependency Installed: distcache.s390x 0:1.4.5-14.1
Complete!
Verify that the RPM was added:
# rpm -qa | grep ssl
openssl-0.9.8b-10.el5
openssl-0.9.8b-10.el5
mod_ssl-2.2.3-11.el5_1.3
Restart the Web server:
# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Go back to your browser and click restart again. This time you should get a warning about a
self-signed certificate. This is acceptable, because for a production Web site you will want a
certificate signed by a certificate authority.
12.1.5 Populating your Web site
You can begin to put your Web pages in the directory /var/www/html/ which is the default
Web root.
Vista de pagina 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 267 268

Comentarios a estos manuales

Sin comentarios