歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> Linux文化

apache下安裝ssl


>>> 此貼的回復 >> 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/

[ 關閉窗口 ]

Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : [email protected]
Copyright © Linux教程網 All Rights Reserved