shortcircuit Posted January 20, 2009 Share Posted January 20, 2009 Hi all, I'm having some trouble getting SSL working with Apache 2.0.63 on Windows XP. I used this tutorial: http://www.thompsonbd.com/tutorials/apachessl.php to get me going. It seems very good, and everything mentioned in the tutorial worked without any errors. I'll outline my problem: 1. I'm building a test Apache web server on Windows XP- I'm not interested in hosting a website, I just want to do everything on the local machine. For that reason, in the tutorial above, where it mentions "www.mydomain.com" I use my local machine name. 2. Apache is running fine: when I navigate to http://localhost I get the standard page, I can also access items in the htdocs directory, etc. I want to use SSL to access the directory htdocs\ssl, so in my ssl conf I have: DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/ssl" Everything else I have done as per the tutorial. I can access http://localhost/ssl whereas I expected that this should not work. I was expecting https://localhost/ssl should work. I am getting no errors in the error logs. I'll attach my httpd.conf and ssl.conf (these files will have a .txt extension on them so that this site will accept them as attachments) The following command is successful telnet <mycomputername> 80 whereas this is not: telnet <mycomputername> 443 So it seems that Apache isn't able to "establish" (not sure if that's the correct term here) itself on port 443. Any help with this would be greatly appreciated! [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/141569-getting-ssl-working-with-apache-2-on-windows-xp/ Share on other sites More sharing options...
corbin Posted January 21, 2009 Share Posted January 21, 2009 I don't feel like reading through your config files... It doesn't sound like you have a Listen statement for 443. Also, it seems that your folder settings are wrong for the /ssl thing. If your folder is under the docroot, of course its accessible. Use a vhost and make a different docroot for ssl. Or, use a rewrite to enforce ssl on some folders. Link to comment https://forums.phpfreaks.com/topic/141569-getting-ssl-working-with-apache-2-on-windows-xp/#findComment-741790 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.