Pages: Previous123456Next
Current Page: 4 of 6
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: dws (---.oc.oc.cox.net)
Date: December 05, 2008 09:13PM

yfastud Wrote:
-------------------------------------------------------
> 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


I started all over and created a new cert as well. When I get to Step 43 and enable SSL the wamp goes "yellow"...

One thing that I have noticed with all of this is that one file "httpd.pid" that was located in the "apache2.2.8/logs" folder is missing after I do the steps from your instructions. Due I need to create the log's themselves?



Edited 1 time(s). Last edit at 12/05/2008 09:21PM by dws.

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

nm I was able to get it working... Whew, that sucked lol

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

Forboding Angel Wrote:
-------------------------------------------------------
> nm I was able to get it working... Whew, that
> sucked lol


Did you get Https working? or wamp

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

Wamp, screw ssl, ehw data isn't THAT sensetive, but that was way too much pain to have to deal with... why doesn't wampserver support basic ssl from the getgo anyway? That strikes me as odd.

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

I need to get ssl working on wampserver! I just wonder if it's windows xp and wampserver 2.0...

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

dws Wrote:
-------------------------------------------------------
> yfastud Wrote:
> --------------------------------------------------
> -----
> > 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
>
>
> I started all over and created a new cert as well.
> When I get to Step 43 and enable SSL the wamp goes
> "yellow"...
>



The only error message is:

[warn] Init: Session Cache is not configured [hint: SSLSessionCache]

not much help...any other ideas???

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


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

yfastud Wrote:
-------------------------------------------------------
> did you do step 26 and 27?


yes (see below)

SSLSessionCache "shmcb:C:/wamp/bin/apache/apache2.2.8/conf/ssl/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300

not sure if I need to do something to make
ssl_scache(512000)



Edited 1 time(s). Last edit at 12/08/2008 07:40PM by dws.

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

I guess I have to read all the apache stuff to get this working... I was hoping I could use these tutorials!

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: arnb (---.dyn.optonline.net)
Date: December 20, 2008 07:15PM

Is it ok to continue on from step 1b with this warning? If not how can it be fixed. d: on my system is a Dell recovery partition.

c:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -des3 -out server.key 1024
WARNING: can't open config file: d:/test/opeenssl098i/openssl.cnf
Loading 'screen' into random state - done
Generating RSA private key, 1024 bit long modulus
.............++++++
................++++++
unable to write 'random state'
e is 65537 (0x10001)
Enter pass phrase for server.key:

Thank you
Arn

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

if d drive is Dell recovery partition, you must have mistake somewhere, so you should check my very detail step-by-step guide here
[blog.jlbn.net]

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: arnb (---.dyn.optonline.net)
Date: December 20, 2008 11:11PM

Thanks for the reply. However I get the same error using your directions at step 3. My OS is Vista Sp1Home premium all patches. WampServer 2.0f [12/16/08] standard installation. The command log follows


c:\>CD C:\wamp\bin\apache\apache2.2.11\bin

C:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -aes256 -out pass.key 2048
WARNING: can't open config file: d:/test/opeenssl098i/openssl.cnf
Loading 'screen' into random state - done
Generating RSA private key, 2048 bit long modulus
......................................................+++
..........+++
unable to write 'random state'
e is 65537 (0x10001)
Enter pass phrase for pass.key:

I found an openssl.cnf in folder c;/wamp/bin/php/php528/extras/openssl/



Edited 1 time(s). Last edit at 12/21/2008 12:28AM by arnb.

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: PPNSteve (---.hsd1.ca.comcast.net)
Date: December 21, 2008 12:08AM

OK I seem to have BIG problems here..

In the 1b step it returning a weird error:

F:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -des3 -out server.key 1024
4356:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:
126:fopen('d:/test/opeenssl098i/openssl.cnf','rb')
4356:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c
:131:
4356:error:0E078002:configuration file routinesgrinning smileyEF_LOAD:system lib:.\crypto\con
f\conf_def.c:199:

F:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -aes256 -out pass.key 2048
4444:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:126:fopen('d:/test/opeenssl098i/openssl.cnf','rb')
4444:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:131:
4444:error:0E078002:configuration file routinesgrinning smileyEF_LOAD:system lib:.\crypto\con
f\conf_def.c:199:

Any idea why?

More importantly, how do I fix it?

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

later wamp version might have some minor change so check to make sure you have openssl.exe in that folder wamp\bin\apache\Apache2.2.11\bin

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: PPNSteve (---.hsd1.ca.comcast.net)
Date: December 21, 2008 01:41AM

it is there as are the libraries.. It just DOESN'T WORK.

any other suggestions?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: arnb (---.dyn.optonline.net)
Date: December 21, 2008 05:17AM

Yep it's also on my system. How are WAMP bugs reported?

Options: ReplyQuote
Re: Wamp2 HTTPS and SSL Setup Step-by-Step guide
Posted by: arnb (---.dyn.optonline.net)
Date: December 21, 2008 07:18AM

From C:\wamp\bin\apache\apache2.2.11\bin\README_SSL.txt

To use the CSR and key generation functions from PHP, you will need to install
an openssl.cnf file. We have included a sample file that can be used for this
purpose in this folder alongside this readme file.

The default path for the openssl.cnf file is determined as follows:

OPENSSL_CONF environmental variable, if set, is assumed to hold the
path to the file.

If it is not set, SSLEAY_CONF environmental variable is checked next.
If neither are set, PHP will look in the default certificate area that was set
at the time that the SSL DLLs were compiled. This is typically
"C:\usr\local\ssl\openssl.cnf".

Set an Environment Variable OPENSSL_CONF to C:\wamp\bin\apache\apache2.2.11\bin\openssl.cnf

Retried without success
C:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -aes256 -out pass.key 2048
WARNING: can't open config file: C:\wamp\bin\apache\Apache2.2.11\bin\openssl.cnf

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

Quote

Set an Environment Variable OPENSSL_CONF to C:\wamp\bin\apache\apache2.2.11\bin\openssl.cnf

Retried without success
C:\wamp\bin\apache\Apache2.2.11\bin>openssl genrsa -aes256 -out pass.key 2048
WARNING: can't open config file: C:\wamp\bin\apache\Apache2.2.11\bin\openssl.cnf
he he... he he... ;-)

Do you see anywhere in my guide that show "Set an Environment Variable OPENSSL_CONF to C:\wamp\bin\apache\apache2.2.xx\bin\openssl.cnf"? And that's reason why you've got that error

Anyway, I've already setup my SSL w/ Apache 2.2.8, which comes w/ wamp2d, and I'm quite busy recently that I don't have much free time so I might not do anything to test w/ Apache 2.2.11 soon :-(

If you really need to have SSL on Apache 2.2.11, you should consult Apache website for more info on that; otherwise, download older wamp versions here

[downloads.jlbn.net]

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: arnb (---.dyn.optonline.net)
Date: December 21, 2008 05:33PM

yfastud Wrote:
-------------------------------------------------------
>
>
> Do you see anywhere in my guide that show "Set an
> Environment Variable OPENSSL_CONF to
> C:\wamp\bin\apache\apache2.2.xx\bin\openssl.cnf"?
> And that's reason why you've got that error
>

I believe you truly want to help, but I feel these statements are condescending.
" he he... he he... ;-) Do you see anywhere in my guide that show ...".
"if d drive is Dell recovery partition, you must have mistake somewhere"

Well it does not work and there is some sort of error in the compiled DLL code. I am not interested in installing an older version, just got this version up and working and HTTPS works fine on my Linux web site host so I can wait to test it locally.

I understand you are busy and when you get the time to take a look, those of us experiencing this error would be most appreciative for some sort of solution.

Thank you

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

Quote

I understand you are busy and when you get the time to take a look, those of us experiencing this error would be most appreciative for some sort of solution
fair enough ;-)
I think I should have some explanation here
Rom, wamp developer, put everything together including tray icon for convenient menu but all apache, mysql, php, phpmyadmin, sqlite and sqlitemanager are original sources and that's why I suggest to consult more info in its related website if any of you need more info on error you might run into

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/21/2008 06:21PM by yfastud.

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


Sorry, only registered users may post in this forum.