- 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 ------------------------------------------------------- Hello, Below is the procedure: First install Openssl: 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 Now Compile Apache with ssl enable: Install APACHE # tar -zxvf httpd-2.0.63.tgz # 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 Recent Activity 5 New MembersVisit Your Group Give Back Yahoo! for Good Get inspired by a good cause. Y! Toolbar Get it Free! easy 1-click access to your groups. Yahoo! Groups Start a group in 3 easy steps. Connect with others. .. 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]
