SSL help in XAMPP for Windows

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SSL help in XAMPP for Windows

Postby ppockey » 29. January 2008 18:56

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
ppockey
 
Posts: 5
Joined: 27. June 2007 15:14

Postby Izzy » 30. January 2008 00:15

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
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

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

Postby ppockey » 30. January 2008 00:50

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
ppockey
 
Posts: 5
Joined: 27. June 2007 15:14

Postby Izzy » 30. January 2008 01:03

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.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Izzy » 30. January 2008 01:21

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
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests