Chapter 22. Apache HTTP Server
352
22.8.5. Generating a Key
You must be root to generate a key.
First, use the
cd
command to change to the
/etc/httpd/conf/
directory. Remove the fake key and
certificate that were generated during the installation with the following commands:
rm ssl.key/server.key
rm ssl.crt/server.crt
The
crypto-utils
package contains the
genkey
utility which you can use to generate keys as
the name implies. To create your own private key, please ensure the
crypto-utils
package is
installed. You can view more options by typing
man genkey
in your terminal. Assuming you wish to
generate keys for www.example.com using the
genkey
utility, type in the following command in your
terminal:
genkey www.example.com
Please note that the
make
based process is no longer shipped with RHEL 5. This will start the
genkey
graphical user interface. The figure below illustrates the first screen. To navigate, use the keyboard
arrow and tab keys. This windows indicates where your key will be stored and prompts you to proceed
or cancel the operation. To proceed to the next step, select
Next
and press the Return (Enter) key.
Figure 22.11. Keypair generation
The next screen prompts you to choose the size of your key. As indicated, the smaller the size of your
key, the faster will the response from your server be and the lesser your level of security. On selecting
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...