Pages: Previous123456Next
Current Page: 3 of 6
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 03:39AM

Is your step by step for WampServer 2.0 ? Could I just find the logs part and use that to make it work?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 03:53AM

dws Wrote:
-------------------------------------------------------
> Is your step by step for WampServer 2.0 ? Could I
> just find the logs part and use that to make it
> work?

The above question is for:

yfastud (Moderator)
Date: December 04, 2008 02:19AM

hambuler's is very good but if you still have problem, you might like to check my detail step-by-step guide here
[blog.jlbn.net]

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 04:05AM


Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 05:33PM

yfastud Wrote:
-------------------------------------------------------
> did you go through it?


Yes, I did but I only get to the "step 43" and when I try to select the ssl_module I get a windows error. "Could not excute menu item" The wamp is at "yellow" status. If I put the "#" on "Include conf/extra/httpd-ssl.conf" the status is ok! What do you think?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 06:41PM

3 things you need to check
1. as posted in step 41, make sure there is no blank space in front of that line and in the end of the line before that line
2. make sure all folders and paths in httpd-ssl.conf are correct and present
3. make sure there is mod_ssl in modules folder

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 07:24PM

yfastud Wrote:
-------------------------------------------------------
> 3 things you need to check
> 1. as posted in step 41, make sure there is no
> blank space in front of that line and in the end
> of the line before that line
> 2. make sure all folders and paths in
> httpd-ssl.conf are correct and present
> 3. make sure there is mod_ssl in modules folder

#1 and #3 are fine...
Here are the 6 changes to what I have in the httpd-ssl.conf

1)
# SSL engine uses internally for inter-process synchronization.
SSLMutex default

2)
<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "C:/wamp/www/"
ServerName venture.com:443
ServerAdmin admin@localhost
ErrorLog "C:/wamp/www/logs/ssl_error_log"
TransferLog "C:/wamp/www/logs/ssl_access_log"

3)
#
SSLCertificateFile "C:/wamp/bin/apache/apache2.2.8/conf/ssl/venture.com.crt"
#SSLCertificateFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/server.crt"

4)
#
SSLCertificateKeyFile "C:/wamp/bin/apache/apache2.2.8/conf/ssl/venture.com.key"
#SSLCertificateKeyFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/server.key"

5)
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
SSLOptions +StdEnvVars
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

6)
CustomLog "C:/wamp/logs/ssl_request_log" \"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 08:24PM


Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 08:55PM

yfastud Wrote:
-------------------------------------------------------
> do you have folder logs in folder www?


yes...

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 09:04PM

Quote

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin">
this is wrong ;-)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 09:26PM

yfastud Wrote:
-------------------------------------------------------
> >
>
> this is wrong ;-)

Changed to this but no luck?

<Directory "C:/wamp/bin/apache/apache2.2.8/cgi-bin">

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 10:26PM

still wrong, in your case it should be C:/wamp/www/

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 04, 2008 10:45PM

yfastud Wrote:
-------------------------------------------------------
> still wrong, in your case it should be
> C:/wamp/www/

Ok I changed it but still "yellow". If I but "#" in front of the line in the httpd.conf file the wampServer works and I can select the ssl_mod but once I take the "#" out we are still in the "yellow" status

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 04, 2008 11:15PM

actually, I have some mistake of the path in my guide; try to correct it now; anyway, make sure you have all folders in place, especially folder logs, and the paths to those folders are correct

Quote

Allow from all
also this line should be all lower case
Quote

allow from all

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 1 time(s). Last edit at 12/04/2008 11:19PM by yfastud.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 05, 2008 01:12AM

One thing I remember is my file already had "SSLMutex default" and I didn't need to change it.
and didn't have the following line
SSLMutex "file:C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl/logs/ssl_mutex"

could this be a problem?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: yfastud (Moderator)
Date: December 05, 2008 04:36AM

no, it should not. actually, you remind me that you've already tried to setup SSL before and you might not follow all and each steps in my guide; remember, my guide is NOT exactly the same, so you should restore all files to original, then follow my guide, but before doing so, post the last 20 lines of your error log here to see if we can sort out the problem

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 1 time(s). Last edit at 12/05/2008 04:41AM by yfastud.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 05, 2008 04:17PM

My error log is below...
When I start over do I need to re-make the security cert too?

[Fri Dec 05 07:09:17 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 05 07:09:17 2008] [notice] Child 496: Exit event signaled. Child process is ending.
[Fri Dec 05 07:09:18 2008] [notice] Child 496: Released the start mutex
[Fri Dec 05 07:09:19 2008] [notice] Child 496: All worker threads have exited.
[Fri Dec 05 07:09:19 2008] [notice] Child 496: Child process is exiting
[Fri Dec 05 07:09:19 2008] [notice] Parent: Child process exited successfully.
[Fri Dec 05 07:09:19 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 05 07:09:20 2008] [notice] Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.6 configured -- resuming normal operations
[Fri Dec 05 07:09:20 2008] [notice] Server built: Jan 18 2008 00:37:19
[Fri Dec 05 07:09:20 2008] [notice] Parent: Created child process 2964
[Fri Dec 05 07:09:21 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 05 07:09:21 2008] [notice] Child 2964: Child process is running
[Fri Dec 05 07:09:21 2008] [notice] Child 2964: Acquired the start mutex.
[Fri Dec 05 07:09:21 2008] [notice] Child 2964: Starting 64 worker threads.
[Fri Dec 05 07:09:21 2008] [notice] Child 2964: Starting thread to listen on port 80.
[Fri Dec 05 07:10:51 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 05 07:10:52 2008] [notice] Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.6 configured -- resuming normal operations
[Fri Dec 05 07:10:52 2008] [notice] Server built: Jan 18 2008 00:37:19
[Fri Dec 05 07:10:52 2008] [notice] Parent: Created child process 2184
[Fri Dec 05 07:10:52 2008] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 05 07:10:53 2008] [notice] Child 2184: Child process is running
[Fri Dec 05 07:10:53 2008] [notice] Child 2184: Acquired the start mutex.
[Fri Dec 05 07:10:53 2008] [notice] Child 2184: Starting 64 worker threads.
[Fri Dec 05 07:10:53 2008] [notice] Child 2184: Starting thread to listen on port 80.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: Forboding Angel (---.dsl.kscymo.swbell.net)
Date: December 05, 2008 08:26PM

Oh great, now what???

[Fri Dec 05 12:27:54 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Dec 05 12:27:54 2008] [notice] Child 480: Exit event signaled. Child process is ending.
[Fri Dec 05 12:27:55 2008] [notice] Child 480: Released the start mutex
[Fri Dec 05 12:27:56 2008] [notice] Child 480: All worker threads have exited.
[Fri Dec 05 12:27:56 2008] [notice] Child 480: Child process is exiting
[Fri Dec 05 12:27:56 2008] [notice] Parent: Child process exited successfully.
Unable to open logs
Unable to open logs
Unable to open logs
[Fri Dec 05 13:21:44 2008] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file C:/wamp/bin/apache/apache2.2.8/conf/ssl.key/server.key)


I'm screwed without the wampserver running. Please help me. Is ther anyway that I can restore things to the way they were without breaking anything?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 05, 2008 08:45PM

If you have a copy of your httpd-ssl file just replace it. The easy way to get things running again would be to put the "#" back in front of the Include in the httpd.conf file.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: Forboding Angel (---.dsl.kscymo.swbell.net)
Date: December 05, 2008 08:48PM

Even if I comment out the include, it's still borked.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 05, 2008 09:11PM

I think you need to go back to your httpd-ssl file and put the orginal lines back in...

Options: ReplyQuote
Pages: Previous123456Next
Current Page: 3 of 6


Sorry, only registered users may post in this forum.