Apache 2.0 & SSL

Apache 2.0 & SSL

Post by Dave Aa » Sun, 22 Jun 2003 14:51:10



Hey, group! I have a newbie Apache question.

I put together a test Apache 2.0 Web server via the port (v2.0.46) and went
through the process to set up SSL. I created a key, then a certificate
though the openssl commands, and set up the proper directory locations. Make
Certificate would not work.

Anyway, now when I reboot, the boot hangs on "Local package
initialization:". I hit Control-C, and I can get to a login prompt. Apache
is not running, so I type "apachectl startssl", and it asks me for my pass
phrase. I enter it, and Apache runs OK. I can connect to my server via
HTTPS.

Is there any way to automate this, or do I have to pull the Apache startup
command from my rc.d file? Did I set this thing up the wrong way?

Thanks for any help.

Dave Aas

 
 
 

Apache 2.0 & SSL

Post by Erik Nygre » Sun, 22 Jun 2003 15:03:13



> Hey, group! I have a newbie Apache question.

> I put together a test Apache 2.0 Web server via the port (v2.0.46) and went
> through the process to set up SSL. I created a key, then a certificate
> though the openssl commands, and set up the proper directory locations. Make
> Certificate would not work.

> Anyway, now when I reboot, the boot hangs on "Local package
> initialization:". I hit Control-C, and I can get to a login prompt. Apache
> is not running, so I type "apachectl startssl", and it asks me for my pass
> phrase. I enter it, and Apache runs OK. I can connect to my server via
> HTTPS.

> Is there any way to automate this, or do I have to pull the Apache startup
> command from my rc.d file? Did I set this thing up the wrong way?

You can remove the passphrase for the certificate, please read this guide:
http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#removepassphrase

--
Erik Nygren
e r i k { a t } s w i p { d o t } n e t
Linux - If you hate Microsoft, FreeBSD - If you love Unix

 
 
 

Apache 2.0 & SSL

Post by Dave Aa » Mon, 23 Jun 2003 10:45:04


Thanks, Erik. It was just what I was looking for.

I love this group!

Dave


> > Hey, group! I have a newbie Apache question.

> > I put together a test Apache 2.0 Web server via the port (v2.0.46) and
went
> > through the process to set up SSL. I created a key, then a certificate
> > though the openssl commands, and set up the proper directory locations.
Make
> > Certificate would not work.

> > Anyway, now when I reboot, the boot hangs on "Local package
> > initialization:". I hit Control-C, and I can get to a login prompt.
Apache
> > is not running, so I type "apachectl startssl", and it asks me for my
pass
> > phrase. I enter it, and Apache runs OK. I can connect to my server via
> > HTTPS.

> > Is there any way to automate this, or do I have to pull the Apache
startup
> > command from my rc.d file? Did I set this thing up the wrong way?

> You can remove the passphrase for the certificate, please read this guide:
> http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#removepassphrase

> --
> Erik Nygren
> e r i k { a t } s w i p { d o t } n e t
> Linux - If you hate Microsoft, FreeBSD - If you love Unix

 
 
 

Apache 2.0 & SSL

Post by read-the-signat.. » Mon, 23 Jun 2003 11:41:12



> Thanks, Erik. It was just what I was looking for.

> I love this group!

If you want to purchase a signed certificate see this website:

        http://www.instantssl.com

They are inexpensive starting at just $49.00.  I just loaded
they're free 1 month certificate for testing.  After installing
the certificate and the ca-bundle file in apache, I tested with Mac OS X
safari, MS IE, and Netscape and the certificate works fine.

regards
--
John J. Rushford
j j r { a t } a l i s a { d o t } o r g
http://www.cs.du.edu/~jjr

 
 
 

1. Help with Apache SSL && Apache servers sharing content

Hello. I have a question I haven't been able to find an answer to yet. I'm
setting up several apache and apache ssl boxes. The plan is to have all the
dynamic content on several mod_perl Apache servers and all the static images
on a separate server. This much is done, and works fine. My question is,
can you use images from an http server on an https server. So if you're
on the secure server, and theres an <IMG SRC="http://whatever/foo.jpg"> tag,
should it work? Netscape's ssl server seems to be fine with serving the images,
however the apache ssl server shows the image as a key icon. If you view the
source, the tag is correct, however if you try to view the image, it comes up
as internal-icon-insecure.

Now, the question is, should I be doing this at all? I realize you'll get a
message about secure and insecure elements on the page. Beyond that, is there
a specific reason to not do this? Or why I'm seeing this behavior? Thanks in
advance for any insight. Please CC me in case I miss something here. My news
feed isn't the greatest thing in the world right now.

Mental
--

"Love eternal, Lust infernal
Bleeding, burning. Needing yearning..."
--Type O Negative

PGP 2.6.3a Public Key: http://www.neverlight.com/Mental-PublicKey.pgp

2. Imakefile processing

3. Question: Running Apache SSL and Apache non-SSL on one server

4. Help with XFree86 3.3 and Trident GUI9680

5. Apache & Apache w/ssl

6. linksys PCMCIA EthernetCard

7. Apache Week: Apache & SSL feature

8. Xfree86-devel-4.2.0 on Mandrake 8.2

9. Apache & SSL - Stronghold, Raven, OpenSSL, ModSSL & ApacheSSL

10. Forcing a redirect to ssl on Apache 2.0

11. Apache 2.0 SSL Basic Authentication

12. Apache-SSL crashes Netscape 2.0 (Linux)

13. Apache 2.0 + SSL