Red Hat NETWORK PROXY SERVER 3.7 - Manual de usuario

Busca en linea o descarga Manual de usuario para Servidores Red Hat NETWORK PROXY SERVER 3.7 -. Red Hat Secure Web Server Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Red Hat Secure Web Server
Getting Started Guide
Red Hat Software, Inc.
Research Triangle Park, North Carolina
Vista de pagina 0
1 2 3 4 5 6 ... 100 101

Indice de contenidos

Pagina 1 - Red Hat Secure Web Server

Red Hat Secure Web ServerGetting Started GuideRed Hat Software, Inc.Research Triangle Park, North Carolina

Pagina 2

xCONTENTS

Pagina 3 - Contents

90 INDEXserver ... . ... ... 15SSL...25virtual hosts ... ... 36copyright ... ... ... iicreating certific

Pagina 4

INDEX 91PHP/FIconfiguration ... .. 81PHP/FI, Apache ... ... 5PHP3... ... .5port numbers ... . ... 42purchasi

Pagina 5 - Introduction

Installing Your ApacheServerAfter you have readthis chapter and followed the instructions it contains,your web server will be installed and configured.

Pagina 6 - We Need Feedback!

2 Installing Your Apache Server(In other words, if your system only has the script/etc/rc.d/init.d/httpd, then execute that script with the stop pa-ra

Pagina 7

1.2 Mounting the CD-ROM 31.2 Mounting the CD-ROMTo beginthe installationprocess,you must first mountthe CD-ROM.Placethe secure web server CD in your CD

Pagina 8

4 Installing Your Apache Serverthe program. Remember, however, that these web pages may include in-formation about a more recent version of the partic

Pagina 9 - Acknowledgements

1.3 Optional Packages 5links the Perl runtime library into the server and provides an object-oriented Perl interface for the Apache server’s C languag

Pagina 10

6 Installing Your Apache Serverto section 4.3 on page 81 for more information on post-installationconfiguration of mod php. You should also try the PHP

Pagina 11 - Installing Your Apache

1.3 Optional Packages 71.3.6 SourceConfiguration File: N/ADocumentation: N/ADescription: The source package (secureweb-source) contains theApache sourc

Pagina 12 - 1.1 OS and Software Versions

8 Installing Your Apache Serveror the disk caching version (described below). See section 4.5 onpage 83 formore information onconfiguring Squid after i

Pagina 13 - 1.3 Optional Packages

1.4 Running the Installer 91.3.10 Netscape NavigatorConfiguration File: N/ADocumentation: http://help.netscape.com/Description: Netscape Navigator is a

Pagina 14 - 1.3.2 mod perl

Copyrightc1998 Red Hat Software, Inc.Red Hat is a registered trademark and the Red Hat Shadow Man logo,RPM, the RPM logo, and Glint are trademarks of

Pagina 15 - 1.3.3 PHP3 and PHP/FI

10 Installing Your Apache ServerYou’ll see a window like the one shown in figure 1.1, thanking you forpurchasing Red Hat Secure Web Server 2.0. Press t

Pagina 16 - 1.3.4 Apache-ASP

1.4 Running the Installer 11Figure 1.2: Optional Packages to Installmemory or on disk. If your server is equipped with plenty ofmemory (i.e., 64MB or

Pagina 17 - 1.3.7 Squid

12 Installing Your Apache ServerFigure 1.3: Analog Package Optionsspace on your hard disk, select No, and re-run the installation se-lecting fewer opt

Pagina 18 - 1.3.9 ht://Dig

1.4 Running the Installer 13Figure 1.4: Continue with InstallationFigure 1.5: Installation Status Bar

Pagina 19 - 1.4 Running the Installer

14 Installing Your Apache ServerFigure 1.6: Installation Complete

Pagina 20

Configuring Your SecureWeb ServerYou can’t start your secureweb serverright now, because you haven’t cre-ated your key or obtained a digital certificate

Pagina 21

16 Configuring Your Secure Web Servertions ofall ofApache’s configuration options. For yourconvenience, shortdescriptions of theconfiguration directivesu

Pagina 22

2.2 httpd.conf 17If you do make a mistake, and your secure web server doesn’t work cor-rectly, the first place to look is in the configuration file you j

Pagina 23 - 1.4 Running the Installer 13

18 Configuring Your Secure Web Server2.2.1 Important Directives in httpd.confLoadModule LoadModule is used to load in Dynamic Shared Object(DSO) module

Pagina 24

2.2 httpd.conf 19Please Note:Unless you know exactly what you’re doing, don’t setthe User to root,which will create some big securityholes for yoursec

Pagina 25 - Web Server

ContentsIntroduction vAcknowledgements ix1 Installing Your Apache Server 11.1 OS and SoftwareVersions . . . . . . ... 21.2 Mounting the CD-

Pagina 26 - 2.1 Apache Configuration

20 Configuring Your Secure Web ServerNote that the default TransferLog (or access log) for your secureweb server is /var/log/httpd/access log-ssl.2.2.2

Pagina 27 - 2.2 httpd.conf

2.2 httpd.conf 21to listen to port 80 fornon-secure web communications and port 443for secure web communications.Listen can also be used to specify pa

Pagina 28

22 Configuring Your Secure Web Serveryou might want to use www.yourserver.com when your server’sreal name is actually blah.yourserver.com. Note that th

Pagina 29

2.2 httpd.conf 23KeepAliveTimeout KeepAliveTimeout setsthenumberofsecondsyourserver will wait for a subsequent request, after a request has beenserved

Pagina 30

24 Configuring Your Secure Web Serveruncomment the Cache directives to enable proxy caching for yourproxy server. Apache proxy serving is enabled by th

Pagina 31

2.2 httpd.conf 25(a separate server which runs alongside your default Apache webserver). Most configuration directives can be used within virtualhost t

Pagina 32

26 Configuring Your Secure Web ServerSSLDisable directive is used to disable SSL for your non-secureweb server.SSLEnable SSLEnable enablestheSSLprotoco

Pagina 33

2.3 srm.conf 272.3 srm.confThe srm.conf file defines the server’s name space, how requests are ser-viced and how request results areformatted.2.3.1 Impo

Pagina 34

28 Configuring Your Secure Web ServerDirectoryIndex The DirectoryIndex is the defaultpage servedby theserver when a user requests an index of a directo

Pagina 35

2.3 srm.conf 29AddIconByEncoding Thisdirectivenamesiconswhich willbedisplayedby files with mime-encoding, in server generated directory listings.Forexa

Pagina 36

iv CONTENTS2.8 Accessing Your Server ... 423 Securing Your Server 433.1 How Server Security Works . . . . ... 443.2 Dec

Pagina 37 - 2.3 srm.conf

30 Configuring Your Secure Web ServerIndexIgnore IndexIgnore lists file extensions, partial filenames, wild-card expressions or full filenames. The web se

Pagina 38

2.3 srm.conf 31is using the AddType directive to make your web server recognizefiles with PHP extensions (.php3 .phps .phtml) as PHP mimetypes.AddHandl

Pagina 39

32 Configuring Your Secure Web Serverdisable keepalives and HTTP header flushes for browsers that areknown to have problems with those actions.2.4 acces

Pagina 40

2.4 access.conf 33Your/home/httpd/cgi-bin directoryhasOptions ExecCGI set,meaning thatexecution of CGI scriptsis permitted within that direc-tory.Allo

Pagina 41

34 Configuring Your Secure Web Server2.5 Adding Modules to Your ServerSince Apache 1.3 supports Dynamic Shared Objects (DSOs), you can eas-ily load Apa

Pagina 42 - 2.4 access.conf

2.5 Adding Modules to Your Server 35To make your secure web serverload in anunloaded module, firstuncom-ment the corresponding LoadModule line. For exa

Pagina 43

36 Configuring Your Secure Web Serveroutside the Apache source tree, without needing to tweak any compilerand/or linkerflags. If you needmore informatio

Pagina 44

2.6 Using Virtual Hosts 37machine. If you’re interested in using virtual hosts for different IP ad-dressesor differenthost names onyour machine, morei

Pagina 45 - AddModule mod_mime_magic.c

38 Configuring Your Secure Web Serverrequests. By default, the DocumentRoot is set to /home/httpd/html.To change the DocumentRoot so that it is no long

Pagina 46

2.6 Using Virtual Hosts 39won’t have to do any manipulation of the virtual hosts directives inhttpd.conf. However,if you would like to usethe virtual

Pagina 47

IntroductionThe Red Hat Secure Web Server Getting Started Guide is intended to get youstartedrunningyourRedHatSecureWeb Server. Itisnot meantto becom-

Pagina 48 - #Listen 80

40 Configuring Your Secure Web ServerThis line would create a virtual host that listens on port 12331. Substitutethe port number you want to use for 12

Pagina 49

2.7 Starting and Stopping Your Server 41You may also use the command restart, which is a short way of stop-ping and then starting yourserver. restart

Pagina 50 - /etc/rc.d/init.d/httpsd start

42 Configuring Your Secure Web Server2.8 Accessing Your ServerThe standard port for secure web communications is port 443. The stan-dard port for non-s

Pagina 51

Securing Your ServerSince you purchased this product,you areprobably interestedin conduct-ing electronic commerce using yourweb site. To makeyour cust

Pagina 52 - 2.8 Accessing Your Server

44 Securing Your ServerWhen you use a signed certificate, you guarantee the identity of the orga-nization running the server. For example, if thecertifi

Pagina 53 - Securing Your Server

3.1 How Server Security Works 45privacy)andthe mutualauthentication betweenbrowsersandyour secureweb server. The CA-approved digital certificate provid

Pagina 54 - 3.1 How Server Security Works

46 Securing Your Serveryouclaimto be, theywill sendyouadigital certificate. You then installthiscertificate on your web server, and begin handling secur

Pagina 55

3.3 Proving Your Organization’s Identity to a CA 473.3.1 Proving Your Organization’s Identity to VeriSignTheeasiestway to proveto VeriSign that youror

Pagina 56

48 Securing Your Server3.3.2 Proving Your Organization’s Identity to ThawteThawte requires some form of all three of the following to prove your or-ga

Pagina 57

3.4 Creating Your Key and Certificate Request 49at http://www.thawte.com for more information or contact Thawte [email protected] to ask them w

Pagina 58

vi CONTENTSmod ssl provides complete documentationmod ssl has fixed many different bugs that existed in Apache-SSLOther new featuresinclude: the compil

Pagina 59

50 Securing Your Serverto createthe certificate request. You need the certificaterequest in order toapply for a certificate from a CA. Finally, you need

Pagina 60 - 3.4.1 Generating a Key

3.4 Creating Your Key and Certificate Request 51Please Note:If you don’t want to have to type in a password every timeyou start your web server, you wi

Pagina 61

52 Securing Your ServerYour system will display the following output and will ask you for yourpassword (if you disabled the password option, it won’t

Pagina 62

3.4 Creating Your Key and Certificate Request 53Since the Red HatSecureWeb Serveris restrictedfor sale to only the US orCanada, your input will be eith

Pagina 63

54 Securing Your ServerThe next section covers how to get test certificates from both VeriSign andThawte, as well as how to create a test certificate yo

Pagina 64 - 3.5 Getting a Test Certificate

3.5 Getting a Test Certificate 55If you enter ’.’, the field will be left blank.-----Country Name (2 letter code) [US]:State or Province Name []:North

Pagina 65

56 Securing Your Servercontents of your httpsd.csr file (including the BEGIN CERTIFI-CATE REQUEST line and the END CERTIFICATE REQUEST line)and paste t

Pagina 66

3.5 Getting a Test Certificate 577. Scroll down to the bottom of the page, which will contain a form foryou tofill out. You need to fill inthe blankswith

Pagina 67

58 Securing Your Server4. The returned webpage will include your test certificate (an exampleis shown as figure 3.5 on page 67). Cut and paste the test

Pagina 68

3.7 Buying a Certificate 593.7 Buying a CertificateNow you’re ready to purchase a certificate. Once you’ve received the cer-tificate, simply follow the st

Pagina 69 - 3.7 Buying a Certificate

CONTENTS viiIf you include the manual’s identifier, we’ll know exactly which versionof this manual you have. If you have a suggestion, try to be as spe

Pagina 70

60 Securing Your Serverbut there areother ways if youdon’t have a D-U-N-S numberor youdon’t want to use one. Refer to 3.3.1on page 47 or to the instru

Pagina 71

3.7 Buying a Certificate 6111. Fill in the “Enter Billing Contact Information” with information forthe person who will be contacted for billing purpose

Pagina 72

62 Securing Your Server3. The next step they describeis togenerate akey anda certificatesign-ing request (CSR). If you followed the instructions contai

Pagina 73

3.7 Buying a Certificate 6315. The next page,alsoentitled“ServerCertEnrollment,”is thelastpageof their enrollment form and is shown as figure 3.12 on pa

Pagina 74 - 64 Securing Your Server

64 Securing Your ServerFigure 3.2: Paste in Your httpsd.csr

Pagina 75 - Figure 3.3: Application

3.7 Buying a Certificate 65Figure 3.3: Application

Pagina 76 - 66 Securing Your Server

66 Securing Your ServerFigure 3.4: Thawte’s Test Certificate Page

Pagina 77 - 3.7 Buying a Certificate 67

3.7 Buying a Certificate 67Figure 3.5: Thawte’s Test Certificate Page

Pagina 78 - 68 Securing Your Server

68 Securing Your ServerFigure 3.6: The Red Hat Secure Web Server Default Home Page

Pagina 79 - 3.7 Buying a Certificate 69

3.7 Buying a Certificate 69Figure 3.7: Confirming your Domain Name for VeriSign

Pagina 81 - 3.7 Buying a Certificate 71

70 Securing Your ServerFigure 3.8: Submitting a CSR to VeriSign

Pagina 82 - 72 Securing Your Server

3.7 Buying a Certificate 71Figure 3.9: Completing the VeriSign Application

Pagina 83 - 3.7 Buying a Certificate 73

72 Securing Your ServerFigure 3.10: Thawte Enrollment Form

Pagina 84 - 74 Securing Your Server

3.7 Buying a Certificate 73Figure 3.11: Thawte Application

Pagina 85 - 3.7 Buying a Certificate 75

74 Securing Your ServerFigure 3.12: Thawte Application

Pagina 86 - 76 Securing Your Server

3.7 Buying a Certificate 75Figure 3.13: Thawte Submission Complete

Pagina 87 - Packages

76 Securing Your Server

Pagina 88 - 4.2 Configuring mod perl

Configuring OptionalPackages4.1 Configuring AnalogAnalog is a complex program. Please refer to the Analog web page athttp://http://www.statslab.cam.ac.u

Pagina 89

78 Configuring Optional PackagesChange the LOGFILE and HOSTNAME lines to read as follows:LOGFILE /var/log/httpd/access_log-sslHOSTNAME "Your Compa

Pagina 90

4.2 Configuring mod perl 79Afterthe mainLoadModule section, there’sa listof three additional mod-ules. Uncomment the perl module line so that instead o

Pagina 91 - 4.3 Configuring mod php

AcknowledgementsRed Hat Software would like to acknowledge the following contributionsto this product:This product includes softwaredeveloped by the A

Pagina 92

80 Configuring Optional PackagesThe lines should read:Alias /perl/ /home/httpd/perl/<Location /perl>SetHandler perl-scriptPerlHandler Apache::Reg

Pagina 93 - 4.5 Configuring Squid

4.3 Configuring mod php 814.3 Configuring mod phpLikemod perl,mod phpis avery largepackage. PHP isa completescript-ing language,with various capabilitie

Pagina 94

82 Configuring Optional PackagesIf you installed the PHP3 package, uncomment the mod php3.c line sothat instead of:#AddModule mod_php3.cIt reads:AddMod

Pagina 95

4.4 Configuring Apache-ASP 83After you’ve uncommented the appropriate lines, save the srm.conf fileand then restart your server as described in section

Pagina 96 - 4.6 Configuring ht://Dig

84 Configuring Optional PackagesYou can have Squid start and stop automatically as your machine bootsandshuts downby addingsymlinks to yoursystem’s /et

Pagina 97

4.5 Configuring Squid 854. Find the following section:http_access allow allReplace it with:http_access allow allowed_hostshttp_access deny all5. Find t

Pagina 98

86 Configuring Optional Packages4.6 Configuring ht://DigFor complete documentation on configuring and running ht://Dig, pointtothefile/usr/doc/htdig-3.0.8

Pagina 99

4.6 Configuring ht://Dig 87/var/lib/htdig/footer.html Thispagewillbedisplayedatthe bottomof any search results./var/lib/htdig/nomatch.html This page wi

Pagina 100

88 Configuring Optional Packages

Pagina 101

IndexAaccess.conf file ... ... 32acknowledgements .... ixanalog..... . ...4configuration ... .. 77Apacheconfigurat

Comentarios a estos manuales

Sin comentarios