Page 1 of 1

SSL help in XAMPP for Windows

PostPosted: 29. January 2008 18:56
by ppockey
SSL help please. I need to test SSL in a development platform using XAMPP for Windows.

1. I have created certificate to test SSL in XAMP using openssl for Windows downloaded from http://www.openssl.org/related/binaries.html
2. I have placed the key and cert files in correct locations for XAMPP to read them
3. I have restarted Apache
4. I get Error 404 (file not found) when use https or sometimes the error tells me I'm not authorized to view
5. How do you get SSL to work in XAMPP for Windows?
6. I need to test in a development platform

Thanks for your help

PostPosted: 30. January 2008 00:15
by Izzy
SSL is enabled and working in a default XAMPP for Windows installation:

Mentioned in first paragraph in the XAMPP Welcome Page:
https://localhost

openssl.exe is included in a default installation:
.\xampp\apache\bin\openssl.exe

As is .\xampp\apache\makecert.bat file.

Certificate ssl.* Files stored here:
.\xampp\apache\conf\

SSL configuration file here:
.\xampp\apache\conf\extra\httpd-ssl.conf

default ssl in xampp works; cannot get to work in my own dir

PostPosted: 30. January 2008 00:50
by ppockey
the default ssl in xampp works; i cannot get ssl to work in my own site beneath htdocs; do i need my own cert? why the error 404? why am i told that i am unauthorized? I don't understand why so much trouble when default ssl in xampp works; please help if you can.

thx

PostPosted: 30. January 2008 01:03
by Izzy
Error 404 file not found, will be explained in the Apache error.log file.
.\xampp\apache\logs\error.log
i cannot get ssl to work in my own site

Then following the example for the default localhost SSL, the location of the files I included above, you can configure your SSL for your own domain - you just have not done that configuration correctly yet.

PostPosted: 30. January 2008 01:21
by Izzy
Error 404 file not found, will be explained in the Apache error.log file.
.\xampp\apache\logs\error.log
i cannot get ssl to work in my own site

Then following the example for the default localhost SSL, the location of the files I included above, you can configure your SSL for your own domain - you just have not done that configuration correctly yet.

Here is an explanation of certificates perhaps may help you here:
http://community.apachefriends.org/f/viewtopi ... 3730#93730