Web design - Chapter 6 . Securing Linux 231 4. The
Friday, July 27th, 2007Chapter 6 . Securing Linux 231 4. The browser uses the SSL certificate to encrypt the symmetric encryption key. 5. The browser sends the encrypted key to the server. 6. The server decrypts the symmetric key with its private key counterpart of the public SSL certificate. The browser and server can now encrypt and decrypt traffic based on a common knowledge of the symmetric key. Secure data interchange can now occur. Creating SSL Certificates To create your own SSL certificate for secure HTTP data interchange, you must first have an SSL-capable Web server. The Apache Web server (httpd package), which comes with Fedora and other Linux systems is SSL-capable. Once you have a server ready to go, you should familiarize yourself with the important server-side components of an SSL certificate: # ls -l /etc/httpd/conf -rw-r–r– 1 root root 36010 Jul 14 15:45 httpd.conf lrwxrwxrwx 1 root root 37 Aug 12 23:45 Makefile -> ../../../usr/share/ssl/certs/Makefile drwx—— 2 root root 4096 Aug 12 23:45 ssl.crl drwx—— 2 root root 4096 Aug 12 23:45 ssl.crt drwx—— 2 root root 4096 Jul 14 15:45 ssl.csr drwx—— 2 root root 4096 Aug 12 23:45 ssl.key drwx—— 2 root root 4096 Jul 14 15:45 ssl.prm # ls -l /etc/httpd/conf.d/ssl.conf -rw-r–r– 1 root root 11140 Jul 14 15:45 ssl.conf The /etc/httpd/conf and /etc/httpd/conf.d directories contain all of the components necessary to create your SSL certificate. Each component is defined as follows: . httpd.conf Web server configuration file. . Makefile Certificate building script. . ssl.crl Certificate revocation list directory. . ssl.crt SSL certificate directory. . ssl.csr Certificate service request directory. . ssl.key SSL certificate private key directory. . ssl.prm SSL certificate parameters. . ssl.conf Primary Web server SSL configuration file.
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.