db-4.2.52.NC-sol10-intel-local
expat-2.0.1-sol10-x86-local
gcc-3.4.6-sol10-x86-local
gdbm-1.8.3-sol10-intel-local
libiconv-1.11-sol10-x86-local
zlib-1.2.3-sol10-x86-local
openssl-0.9.8k-sol10-x86-local
apache-2.0.59-sol10-x86-local
2) Install the softwares. The above apache compiled with ssl support. So no need to install mod-ssl package or compile and install apache. All the packages are data stream packages. Just use the below command to install the software.
pkgadd -d
3) Once everything is installed configure apache. (sun01 is the server name)
vi /usr/local/apache2/conf/httpd.conf
Add the following lines
Listen 80
ServerName sun01:80
DocumentRoot "/usr/local/apache2/htdocs"
NameVirtualHost *:80
IfModule mod_ssl.c> Include /usr/local/apache2/conf/ssl.conf
4) Edit the ssl.conf file. (vi /usr/local/apache2/conf/ssl.conf)
Listen 8443
5) Now start apache with ssl. It will start successfully
/usr/local/apache2/bin/apachectl startssl
6) Check the secure connection from windows browser. (sun01 -> servername 8443 -> ssl listen port)
7) Copy hello.html file to document root directory and try to access the following link.
cp hello.html /usr/local/apache2/htdocs
https://sun01:8443/hello.html
8) The above link will display hello.html.
9) Apache has been configured with openssl.

No comments:
Post a Comment