I have create a self signed SSL Certificate for testing purpose and I have configure the generated certificate with my virtual hosts file. But when I tried to access my domainname.com with https://mydomainname.com its not working. Mozilla gives the error page "Firefox can't establish a connection to the server at mydomainname.com.". I have window vista machine. And my virtual hosts file is as follows.

my virtual hosts file :

<IfDefine SSL>
 <VirtualHost mydomainname.com:80>
       #ServerName www.mydmainnamw.com:8080
       #DocumentRoot "C:/.../My Company/My Sites/johnbokma.com/site/web"
       #CustomLog logs/lc.johnbokma.com.access.log combined
       #ErrorLog logs/lc.johnbokma.com.error.log

       SSLEngine on
       SSLCertificateFile C:/Program Files (x86)/ApacheSoftwareFoundation/conf/ssl.crt/server.crt 
       SSLCertificateKeyFile C:/Program Files (x86)/ApacheSoftwareFoundation/conf/ssl.key/server.key

       SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
       CustomLog logs/ssl_request_log \
       "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

 </VirtualHost>
<IfDefine SSL>
link|improve this question

17% accept rate
feedback

2 Answers

or change VirtualHost mydomainname.com:80 to VirtualHost mydomainname.com:443

link|improve this answer
feedback

Having tried to clarify the stuff you've posted above, it appears that you're running the app on port 80. Try https://mydomainname.com:80/ and see what happens.

link|improve this answer
hi, thanks for reply. I have tried with 80 port but it not working. – Lokesh Paunikar Feb 24 '11 at 12:01
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.