>>> 此贴的回复 >> Fetch and extract the distributions of Apache, mod_ssl and OpenSSL $ lynx http://httpd.apache.org/dist/httpd/apache_1.3.34.tar.gz $ lynx ftp://ftp.modssl.org/source/mod_ssl-2.8.25-1.3.34.tar.gz $ lynx ftp://ftp.openssl.org/source/openssl-0.9.8a.tar.gz $ gzip -d -c apache_1.3.34.tar.gz | tar xvf - $ gzip -d -c mod_ssl-2.8.25-1.3.34.tar.gz | tar xvf - $ gzip -d -c openssl-0.9.8a.tar.gz | tar xvf -
Build OpenSSL
$ cd openssl-0.9.8a $ ./config $ make $ cd ..
Build and install the SSL-aware Apache $ cd mod_ssl-2.8.25-1.3.34 $ ./configure \ --with-apache=../apache_1.3.34 \ --with-ssl=../openssl-0.9.8a \ --prefix=/usr/local/apache $ cd .. $ cd apache_1.3.34 $ make $ make certificate $ make install
Cleanup after work $ rm -rf apache_1.3.34 $ rm -rf mod_ssl-2.8.25-1.3.34 $ rm -rf openssl-0.9.8a
Fire up your SSL-aware Apache and try it out (please replace "local-host-name" with the fully qualified domain name (FQDN) of your website which you entered at the "make certificate" step above) $ /usr/local/apache/bin/httpd -DSSL $ netscape https://local-host-name/
[ 关闭窗口 ]