--- On Tue, 22/9/09, Mohan Poosa <[email protected]> wrote:
From: Mohan Poosa <[email protected]>
Subject: [LinuxVadaPav] how to create ssl certificate in apache tomcat linux
To: [email protected]
Date: Tuesday, 22 September, 2009, 3:07 PM
hi all,
how to create ssl certificate in apache tomcat linux
can anyone tell the procedure.
Regards
Mohan
-------------------------------------------------------------------------
Hi,
Below are the procedures:
Install
OPENSSL
# tar
-zxvf openssl-0.9.7d..tar.gz
# mv
openssl-0.9.7d /usr/local/src/
# cd
/usr/local/src/openssl-0.9.7d
#
./config
# make
# make
test
# make install
Install
APACHE
# tar
-zxvf httpd-2.0.63.tar.Z
# cd
httpd-2.0.63
#
./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite
--enable-ssl
--with-ssl=/usr/local/ssl
--enable-proxy
# make
# make install
Create
SSL Certificate
# cd
/usr/local/ssl/bin
#
./openssl genrsa -out www.mubeen.com.key 1024
#
./openssl req -new -key www.mubeen.com.key -out www.mubeen.com.csr
(Answer the questions you are prompted with)
#
../openssl x509 -days 365 -req -in www.mubeen.com.csr
–signkey
myhost.mydomain.key -out myhost.mydomain.cert
# cp
www.mubeen.com..* /usr/local/ssl/certs/
*Edit
ssl.conf file* (/usr/local/apache2/conf/ssl.conf)
SSLCeritifcateFile
/usr/local/ssl/certs/www.mubeen.com.cert
SSLCertificateKeyFile
/usr/local/ssl/certs/www.mubeen.com.key
Regards,Mubeen.
Linux has no mercy, be carefull.
Keep up with people you care about with Yahoo! India Mail. Learn how.
http://in.overview.mail.yahoo.com/connectmore
[Non-text portions of this message have been removed]