On that subject...
in Internet
The new web - Streaming, Personal, Social Magazines
Flipboard, Zite, Msgboy, Pulse, Taptu, Poptart,... MORE
Bill's Hierarchy of Social Media Content Appeal
So I'm experimenting with a new social media... MORE
"Invalid action type" on Facebook Social Plugins (such as Recommendations)
UPDATE as of 12PM EST: Facebook has apparently... MORE
Zuckerberg says Email isn't cool anymore.
I wonder if this means I won't have to help... MORE
Pardon me while I expound on weekend traffic for Public Media websites
I’ve been watching web traffic from my desk here... MORE
What are those links under the main search result listing in Google?
Ever wonder what the links under the main Google... MORE
Bill's Big Hypothetical Public Media Web Space Question
"What if I started a new public media web... MORE
POV's differ on Google's Oops, "warning visiting this web site may harm your computer!"
So I noticed that one of the hotter items being... MORE
The Haenel Website Doctrine
I recently had the opportunity to review the work... MORE
Using IH2 for ZenCart on a Plesk Server with ImageMagick 6.0.7
So I don't have much time to write here, but this... MORE
Building Successful Open Source Software OR maybe a community?
My good friend John Tynan from KJZZ in Arizona... MORE
Into Amish?
OK, I admit this post might just be a bit of a... MORE
What makes a web property valuable?
Through my work with a number of public... MORE
Webmonkey, I owe you
Remember Webmonkey? "The Web Developer's... MORE
I reviewed a product at Brookstone for 10 bucks
So I got this note from Brookstone after buying a... MORE
The greatest online marketing pitch ever!
This is my new favorite.It's the Washlet, and... MORE
Understanding the Plight of Internet Radio
After reading the Tuesday, March 6th edition of... MORE
Not Again! New Internet Radio Royalties
Sorry to those of you who did not sign up for... MORE
"What hath man wrought? And how will man use his miracles?"
"Billions of signals rush over the ocean floor... MORE
RSS & PBCore: Happily ever after
Still using the hell out of those colons in my... MORE
Public Media 2007: Better Living Through the Use of Colons in Your PowerPoint
Someone at the Public Media Conference who made... MORE
Public Media 2007, Pathetic Blogger
I really am a pathetic blogger. Not sure why, but... MORE
MySpace experiments, and other stuff
I'm going to try something new here at... MORE
Web Master Tidbits: Marketing is Managing and Meeting Client Expectations
As my second installment of Web Master Tidbits, ... MORE
Web Master Tidbits: The web as a timeless medium
I have a CMS called MySiteWorx!, a software that... MORE
NewsForge reports on PubForge/Public Media Manager
Recently I was interviewed by Stephen Feller from... MORE
Yahoo! News reports NPR is no longer "commercial-free"
Everyone knows how much I love public... MORE
Microsoft Point of Sale
Here's one to watch. Microsoft Point of... MORE
More on razor blades...
It seems some other folks (including the New York... MORE
Paid Content: On giving away razors in order to sell razor blades
When will they ever learn? I've been watching... MORE
Internet Radio In My Car
You heard it here first. Or maybe not. But this... MORE
Flash Splash
Recently, I've been requested by a prospective... MORE
Search Engine Tuning - No B.S.
I had the pleasure of reading the recent blog... MORE
Wireless Networking with Linux
If you've never tried it, you might want to wait... MORE
"There is no spoon..."
Mass Media: An ethical and socially acceptable... MORE
in Software
HOWTO: Make Google Chrome stop giving me a UAC warning (without editing the registry!)
I recently acquired an Asus T91MT convertible... MORE
Slow Printing from Windows XP on a Linux Printer
This one has driven me nuts for several years,... MORE
This ain't Hollywood
I haven't said much (at least not publicly) about... MORE
in Open Source
Dave Winer on Public Media folks
For me, one of the highlights about last week's... MORE
OpenSSL on Windows XP: A Follow-up to Better HOWTOs
I don't write a whole lot of HOWTO stuff on this site. I think the combination of lack of sufficient expertise and lack of time to do so has made it pretty unlikely that anyone would find info on anything useful here.
However, I just finished installing OpenSSL for Apache 2 on my laptop, for dev purposes, and it wasn't easy. In addition, I looked high and low for info that might help me debug and did not find anything specific anywhere, so I figure that I can help some folks and maybe divert some traffic from Google to my site all in the same shot.
For anyone who's visited http://tud.at/programm/apache-ssl-win32-howto.php3, you may run into the same trouble I did, especially if you are as attentive to detail as I am (not very much) when reading instructions.
First, let me identify the Apache version I started with as 2.0.52. When complete, I had 2.0.55. This was essentially a copy and paste operation, but I did not copy over my httpd.conf files. I ran a comparison on my old file vs. the new file to see what was different and it was mostly stuff that didn't matter much, so I was able to keep the old file and have no trouble.
After I did the install according to the HOWTO, I had no SSL available via https://localhost. I ran the debug command noted in the HOWTO by entering openssl s_client -connect localhost:443
at the command line in the openssl directory I had created. Here's how that went:
C:Program FilesApache GroupApache2openssl>openssl s_client -connect localhost:443 -state -debug
Loading 'screen' into random state - done
connect: Bad file descriptor
connect:errno=10061
Not so good. Took me a while to figure out why. For those of you who have a similar problem, read on, and maybe this will work for you, too.
I installed everything as directed in that fantastic HOWTO that I linked to above. It went pretty easily. When I was done, I realized that I did not need to rewrite anything into my httpd.conf because the ssl.conf file provided with the zip file at http://hunter.campbus.com/ was great and the httpd.conf file had an IfModule directive for mod_ssl.c that Includes the ssl.conf file anyway. So I made no edits to my httpd.conf file.
I had to change the SSLCertificateFile value to conf/ssl/my-server.cert, making sure to change the .crt to .cert from the default ssl.conf value, as this was kind of a sneaky problem.
I had to change the SLLMutex setting in the ssl.conf file to have a value of "default" per the error output when trying to restart Apache after making these changes. This brings me to the most important point: changing the way Apache starts.
There is a small note that's easy to miss in the HOWTO that says, "Don't forget to call apache with -D SSL
if the IfDefine
directive is active in the config file!". Guess what...the IfDefine
directive is indeed set in the default ssl.conf file that comes with that distro. So you do in fact need to start Apache with the SSL switch as this note specifies.
The trickier part was discovering that when starting Apache as a service in XP, it was not starting with SSL. I could do it this way from the command line (although for some reason it still didn't start the SSL server), but not from the service panel. And in fact, it is not possible to change the startup values permanently from the services dialog in the XP Control Panel. So I had to use regedit to edit the registry value of ImagePath in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesApache2 to include the SSL
at the tail end of the startup command. After doing so, I was able to start Apache from both the command line and from the services panel and the SSL server started beautifully.
So, in summary, follow the directions at http://tud.at/programm/apache-ssl-win32-howto.php3. Then when you're done, change the ssl.conf values I noted above. Then use regedit to edit that ImagePath key and add the -D SSL
switch. Hopefully, after doing so you'll have a working SSL server for use on your dev machine. Good luck!
Anonymous said:
THANK YOU! Spent the past two hours fighting this beast of a mistake on the part of Apache's install... you'd think that they could figure out how to add that flag on the service start-up when you choose the binary install package that includes openssl. (posted 5:11pm, 23Jan08)
Bill Haenel said:
You're welcome! (posted 4:15pm, 30May08)
Anonymous said:
Hi, Thanks 4 the information. It proved a lot helpful to me. However, I'll like to add some more things I learnt 4 d benefit of others as it concerns the info. in the docs at Source: http://tud.at/programm/apache-ssl-win32-howto.php3 I use Apache 2.0.63/PHP 5.2.5/Openssl and found the following changes necessary 4 complete success on my development server (in httpd.conf) Initial (from http://tud.at/programm/apache-ssl-win32-howto.php3) ————————————————————————————————- SSLMutex sem SSLRandomSeed startup builtin SSLSessionCache none SSLLog logs/SSL.log SSLLogLevel info # You can later change "info" to "warn" if everything is OK <VirtualHost www.my-server.dom:443> SSLEngine On SSLCertificateFile conf/ssl/my-server.cert SSLCertificateKeyFile conf/ssl/my-server.key </VirtualHost> Modification (as it concerns Apache 2.0.63) —————————————————————- #correct values for SSLMutex are: none|default . Avoid using sem SSLMutex default SSLRandomSeed startup builtin SSLSessionCache none #SSLLog directive no longer supported. use ErrorLog instead. #There is usually a directive up in httpd.conf file as # ErrorLog logs/error.log #so you may omit the next line ErrorLog logs/SSL.log #Similarly, SSLLogLevel is no longer supported. Use LogLevel LogLevel info # You can later change "info" to "warn" if everything is OK <VirtualHost serverName:443> SSLEngine On SSLCertificateFile conf/ssl/my-server.cert SSLCertificateKeyFile conf/ssl/my-server.key </VirtualHost> Lastly, I saw something a bit shocking and am still wondering why. Guess someone will provide an explanation. Apache reads from httpd.conf and ssl.conf b4 starting. Now, (for the Apache 2.0.63 installation on my system and probably 4 all) why is there a conflict in the ssl listening ports in both httpd.conf and ssl.conf ? In httpd.conf, I have Listen 443 (after Listen 80) but in the ssl.conf file, I saw Listen 8443 and all references there uses it as default ssl listening port. I attempted changing it but everything failed 2 work, so took it back 2 what it was. The funny thing is that it still works like this but why the discrepancy? (posted 5:40pm, 26Jul08)
Anonymous said:
still can't use SSL on my Apache 2.0.63.. please help me.. still getting : connect: Bad file descriptor connect:errno=10061 (posted 4:04am, 03Nov08)
Anonymous said:
openSSL s_client -connect localhost:443 This defaults to ssl2.0. your server may be using a different protocol Try running one of these two commands to see if you are running on tls or ssl3.0 openSSL s_client -connect localhost:443 -tls1 openSSL s_client -connect localhost:443 -ssl3 (posted 3:44pm, 21Oct10)
Anonymous said:
Some time ago, I really needed to buy a house for my corporation but I didn't have enough money and couldn't order anything. Thank God my dude proposed to try to take the <a href="http://bestfinance-blog.com">loan</a> from creditors. So, I did so and was satisfied with my car loan. (posted 12:25am, 09Aug11)