1. Tragem apache, mod ssl si openssl dupa care le dezarhivam...
| Cod: |
$ lynx http://httpd.apache.org/dist/httpd/apache_1.3.41.tar.gz
$ lynx ftp://ftp.modssl.org/source/mod_ssl-2.8.31-1.3.41.tar.gz
$ lynx ftp://ftp.openssl.org/source/openssl-0.9.8g.tar.gz
$ gzip -d -c apache_1.3.41.tar.gz | tar xvf -
$ gzip -d -c mod_ssl-2.8.31-1.3.41.tar.gz | tar xvf -
$ gzip -d -c openssl-0.9.8g.tar.gz | tar xvf - |
Compilam OpenSSL:
| Cod: |
$ cd openssl-0.9.8g
$ ./config
$ make
$ cd ..
|
Compilam si instalam SSL-aware Apache
| Cod: |
$ cd mod_ssl-2.8.31-1.3.41
$ ./configure \
--with-apache=../apache_1.3.41 \
--with-ssl=../openssl-0.9.8g \
--prefix=/usr/local/apache
$ cd ..
$ cd apache_1.3.41
$ make
$ make certificate
$ make install
|
Facem "curat"
| Cod: |
$ rm -rf apache_1.3.41
$ rm -rf mod_ssl-2.8.31-1.3.41
$ rm -rf openssl-0.9.8g
|
| Cod: |
$ /usr/local/apache/bin/httpd -DSSL
$ netscape https://local-host-name/
|