Lars:

Here is what I did:
cd /usr/local
rpm -e apache httpd mod_ssl mod_perl mod_dav redhat-config-httpd
rm -rf /var/www/html /var/www /var/log/httpd /etc/httpd/conf
lynx http://www.apache.org/dist/httpd/httpd-2.0.43.tar.gz
tar zxf httpd-2.0.43.tar.gz

cd httpd-2.0.43
./configure --prefix=/usr/local/apache --enable-ssl --enable-so
make
make install

cd /usr/local/apache/conf
lynx http://www.openssl.org/contrib/ssl.ca-0.1.tar.gz

tar zxf ssl.ca-0.1.tar.gz
cd ssl.ca-0.1

*******  Note:  You cannot make changes to the entries on any of
        the lines below.  This will cause the certificate to fail ********

./new-root-ca.sh
Answer the following questions:
Enter PEM pass phrase: [Enter a password]
Verifying password - Enter PEM pass phrase: [Re-enter the password]
Enter PEM pass phrase: [Enter the password from above]
Country Name (2 letter code) [MY]:US
State or Province Name (full name) [Perak]:Texas
Locality Name (eg, city) [Sitiawan]:Plano
Organization Name (eg, company) [My Directory Sdn Bhd]:JAMM Consulting Inc
Organizational Unit Name (eg, section) [Certification Services Division]:Web
Services
Common Name (eg, MD Root CA) []:JAMM Root CA
Email Address []:[EMAIL PROTECTED]

./new-server-cert.sh server
Answer the following questions:
Country Name (2 letter code) [MY]:US
State or Province Name (full name) [Perak]:Texas
Locality Name (eg, city) [Sitiawan]:Plano
Organization Name (eg, company) [My Directory Sdn Bhd]:JAMM Consulting Inc
Organizational Unit Name (eg, section) [Secure Web Server]:Web Services
Common Name (eg, www.domain.com) []:[machine name].JAMMConsulting.com
Email Address []:[EMAIL PROTECTED]

./sign-server-cert.sh server
Answer the following questions:
Enter PEM pass phrase: [Enter the password from above]
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y

****  If you get an error here, you will have to start over.
        Do the following commands and go back to the line
        where you untarred the ssl.ca archive:
                cd ..
                rm -rf ssl.ca-0.1
************************************************

chmod 400 server.key
cd ..
mkdir ssl.key
mv ssl.ca-0.1/server.key ssl.key
mkdir ssl.crt
mv ssl.ca-0.1/server.crt ssl.crt

Then, try starting apache with this command:
/usr/local/apache/bin/apachectl startssl


I hope this helps.

        Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development    Websites, Ecommerce, Java, databases


> -----Original Message-----
> From: Lars Nielsen Lind [mailto:moonie@;worldonline.dk]
> Sent: Saturday, November 02, 2002 12:51 PM
> To: [EMAIL PROTECTED]
> Subject: Apache 2.0.43 and SSL
>
>
> Hi.
>
> I am trying to compile Apache 2.0.43 with SSL. I have already installed
> OpenSSL 0.9.6g. I use the following commands:
>
> 1.) ./configure --prefix=/usr/local/apache-2.0.43 --enable-ssl
> --with-ssl=/usr/local/openssl-0.9.6g --enable-mods-shared=all
> --with-mpm=worker
>
> 2.) make
>
> 3.) make certificate
>
> result ???:
>
> make: *** No rule to make target 'certificate'. Stop.
>
>
> 4.) make install
>
>
> Now I try to start Apache 2.0.43 (SSL) with this command:
>
> 5.) /usr/local/apache-2.0.43/bin/apachectl startssl
>
> And gets this message:
>
> Syntax error on line 247 of /usr/local/apache-2.0.43/conf/httpd.conf:
> Cannot load /usr/local/apache-2.0.43/modules/mod_ssl.so into server:
> /usr/local/apache-2.0.43/modules/mod_ssl.so: undefined symbol: X509_free
>
> Anyone that have a solution to the problem?
>
>
>
> Lars Nielsen Lind
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to