LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssl certificate (http://www.linuxquestions.org/questions/linux-newbie-8/ssl-certificate-767011/)

nagavinodh 11-05-2009 05:07 AM

ssl certificate
 
Hi,

We bought the ssl certificate but it's expired right now.
we tested test certificate.Itis working fine.
We would like to test with this expired certificate before purchasing.But it's not giving any error when i start the apachectl and browser level it's giving only the page can't display.

We did the followings.

Version apache2.0.63

cd /usr/local/apache2/conf/ssl.key

openssl genrsa -des3 -out server.key 1024
it asked the password and we gave it(we12345).

openssl req -new -key server.key -out server.csr
it asked the password and we gave it(we12345).


Copied expired certificate and paste it into
/usr/local/apache2/conf/ssl.crt/server.crt

Added entries into httpd.conf

SSLCertificateFile /usr/local/apache2/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/server.key

cd /usr/local/apache2/bin
./apachectl startssl

Here usually after execute the command,it will ask the password.But here
it's not asking password.

when i type the http://172.19.0.25:80 it is working,but the
https://172.19.0.25:443 not working.

What mistake we made?How to solve it.

Regards

Vinodh.N

chiragrk 11-05-2009 08:43 AM

Try the follwing things:
- Add lines "SSLEngine On" & "Listen 10.1.0.200:443" (both without quotes) in the config file. Restart apache server. If this doesn't work then next step
- Check if Apache has opened up a TCP/443 using command `netstat antp | grep 443`. Paste the output here.


All times are GMT -5. The time now is 10:17 AM.