Red Hat NETWORK PROXY SERVER 3.7 - Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Servidores Red Hat NETWORK PROXY SERVER 3.7 -. Red Hat Secure Web Server Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 101
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Red Hat Secure Web Server
Getting Started Guide
Red Hat Software, Inc.
Research Triangle Park, North Carolina
Vista de página 0
1 2 3 4 5 6 ... 100 101

Resumo do Conteúdo

Página 1 - Red Hat Secure Web Server

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

Página 2

xCONTENTS

Página 3 - Contents

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

Página 4

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

Página 5 - Introduction

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 18 - 1.3.9 ht://Dig

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

Página 19 - 1.4 Running the Installer

14 Installing Your Apache ServerFigure 1.6: Installation Complete

Página 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

Página 21

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

Página 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

Página 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

Página 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

Página 25 - Web Server

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

Página 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

Página 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

Página 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

Página 29

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

Página 30

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

Página 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

Página 32

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

Página 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

Página 34

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

Página 35

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

Página 36

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

Página 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

Página 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

Página 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

Página 40

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

Página 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

Página 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

Página 43

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

Página 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

Página 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

Página 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

Página 47

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

Página 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

Página 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

Página 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

Página 51

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

Página 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

Página 53 - Securing Your Server

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

Página 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

Página 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

Página 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

Página 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

Página 58

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

Página 59

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 72

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

Página 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

Página 74 - 64 Securing Your Server

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

Página 75 - Figure 3.3: Application

3.7 Buying a Certificate 65Figure 3.3: Application

Página 76 - 66 Securing Your Server

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

Página 77 - 3.7 Buying a Certificate 67

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

Página 78 - 68 Securing Your Server

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

Página 79 - 3.7 Buying a Certificate 69

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

Página 81 - 3.7 Buying a Certificate 71

70 Securing Your ServerFigure 3.8: Submitting a CSR to VeriSign

Página 82 - 72 Securing Your Server

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

Página 83 - 3.7 Buying a Certificate 73

72 Securing Your ServerFigure 3.10: Thawte Enrollment Form

Página 84 - 74 Securing Your Server

3.7 Buying a Certificate 73Figure 3.11: Thawte Application

Página 85 - 3.7 Buying a Certificate 75

74 Securing Your ServerFigure 3.12: Thawte Application

Página 86 - 76 Securing Your Server

3.7 Buying a Certificate 75Figure 3.13: Thawte Submission Complete

Página 87 - Packages

76 Securing Your Server

Página 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

Página 89

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

Página 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

Página 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

Página 92

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 98

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

Página 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

Página 100

88 Configuring Optional Packages

Página 101

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

Comentários a estes Manuais

Sem comentários