[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SSL and PHP3
- Subject: Re: [cobalt-users] SSL and PHP3
- From: Kevin Murphy <kevin@xxxxxxxxxxxxx>
- Date: Thu Mar 9 05:24:23 2000
- Organization: Glen Group
Hi, Davis.
I'm on a RaQ2.
I actually went through the process of stopping and starting the httpsd,
to no avail - I am aware it is running as a separate process, rather
than as a module. I'm wondering, though - at one point, I intentionally
put in a bogus passphrase, just to see if it was verifying that I was
entering the right one, and there was NO feedback. Could I have
something wrong with my cert/key pair? Could I be using the wrong
passphrase (God help me)? Is there some way to get httpsd, on startup,
to give more feedback?
At this point, it doesn't feel like a .conf issue - the server itself is
NOT starting up, no matter what passphrase I give it. Any help anyone
can offer here is appreciated - I'm at the end of my rope with it.
As for getting PHP to run on the secure server, I'm starting to think
I'm going to have to install it as a CGI with httpsd, since I have no
way to recompile httpsd to include the php module. This after hours of
reading on other sites yesterday. Still, if anybody's found a way to
make this happen and can save me a few more hours of reading, I'm all ears.
Thanks!
-Kevin
Robert Davis wrote:
>
> Ahoy
>
> On the RaQ3, SSL runs as a module, and starts with the httpd server.
>
> On the RaQ2, SSL runs as a separate server, and must be separately started.
>
> try this command: /etc/rc.d/init.d/httpsd start
>
> Then enter your "challenge phrase"
>
> Now try ps again.
>
> If none of this works, I will send you the relevant portions of my
> httpd.conf and httpsd.conf for you to compare
>
> Aloha
> Davis
> rdavis@xxxxxxxxxxx
>
> ----- Original Message -----
> From: "Kevin Murphy" <kevin@xxxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 08, 2000 10:34 AM
> Subject: [cobalt-users] SSL and PHP3
>
> > Hello.
> >
> > I have several problems relating to my recent installation of the SSL
> > package on my RaQ2 that I hope the list can help with.
> >
> > 1. It doesn't seem to work. I have followed the instructions on the
> > Knowledge Base page regarding configuring a virtual site for SSL, and on
> > restart, nothing happens. When I type in https://etc., I get
> > "Netscape's connection was refused by the server..." I have tried both
> > accessing it via IP and by name, and have modified the VirtualHost
> > section several times in an attempt to get things working.
> >
> > Here are my particulars:
> >
> > server name: shop.clarkstradingpost.com
> > IP: 216.205.7.165 (my primary address is .162, so I'm on top of that
> > part of the game)
> >
> > VirtualHost entry:
> >
> > <VirtualHost 216.205.7.165:443>
> > ServerAlias shop.clarkstradingpost.com
> > DocumentRoot /home/sites/site3/web
> > SSLEngine on
> > SSLCertificateFile /etc/httpd/conf/ssl.crt/clarkstradingpost.crt
> > SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> > </VirtualHost>
> >
> > Yes, I know this is contrary to the instructions - but when I did it as
> > instructed, httpsd complained that the machine name was bogus because
> > there was no reverse entry (I have since added that entry to the RaQ's
> > DNS table, as well).
> >
> > One other strangeness: upon following the instructions, I got a syntax
> > error on line 1086 (or somewhere close) of the httpsd.conf file when I
> > ran the restart - that line of the file was pointing at server.crt
> > which, of course, was no longer there. I commented this line out, since
> > the file shouldn't be there, and should in fact be overridden by the
> > .crt file in the VirtualHost section. The restart parsed the .conf file
> > fine, but I'm wondering if there should be a test cert in there for good
> measure.
> >
> > Finally, running:
> > # ps uax | grep httpsd
> >
> > gets me a whole lotta nothin', except for the command itself. So
> > something's not going right when the httpsd starts up, but I'll be
> > darned if I can figure it out.
> >
> >
> > 2. Once I get the httpsd happy, then I have to make it run with PHP,
> > since the store that I've developed is written EXCLUSIVELY in
> > php3/mySQL. Yes, I know Cobalt doesn't (officially) support this, but
> > I'm hoping I'm not the first person who ever wanted to do PHP-based
> > eCommerce on a RaQ2. The PHP3 that's running on the server now is the
> > .rpm provided in cobalt's /experimental directory on their ftp server
> (3.0.7).
> >
> > My guess here is that, since PHP is running as a module, there won't be
> > any recompiling to do - just file copying to put the files where they
> > belong. But I'm sufficiently unfamiliar with the installation process
> > (hey - it was an RPM - gimme a break!), that I'm afraid I'm a bit lost,
> > even as to where to begin...
> >
> > Thanks in advance.
> >
> > -Kevin
> >
> > P.S. My apologies if this has been asked and answered already - I
> > couldn't find any way to search the list archives at cobalt's site. If
> > anybody's set up a search of those archives, could you please pass that
> > URL along, so I can go there before I bug the list next time? Thanks.
> >
> >
> > --
> > Kevin Murphy
> > Director of Technology
> >
> > Glen Group
> > Marketing and Advertising Design
> > P.O. Box 2838, 170 Kearsarge Street
> > North Conway, New Hampshire 03860
> > http://www.glengroup.com
> >
> > Voice: 603-356-3030 . FAX: 603-356-3991
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Kevin Murphy
Director of Technology
Glen Group
Marketing and Advertising Design
P.O. Box 2838, 170 Kearsarge Street
North Conway, New Hampshire 03860
http://www.glengroup.com
Voice: 603-356-3030 ? FAX: 603-356-3991