Re: How to ADD SSL Support to Apache?

From: Jim (me_at_here.com)
Date: 04/26/05

  • Next message: Martin: "Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a questionf_how_good_you_are,"
    Date: Tue, 26 Apr 2005 10:58:33 GMT
    
    

    ohaya wrote:
    >>LOADS of people have had to do this
    >>read up on Apache / APXS
    >>You'll have to compile ssl (if not already on your system) then compile
    >>the Apache/SSL module, It *REALLY* is straightforward a quick Google
    >>will give you the instructions you need ot there are plenty of sites
    >>with step by step instructions on how to build Apache/PHP/SSL, just miss
    >>out the PHP parts.
    >>
    >>Sorry to be a bit blunt but I think it will be better for yourself to
    >>look into it, you'll learn far more that way
    >>
    >>Good luck (you won't need it) and have fun with it
    >
    >
    >
    > Hi Jim,
    >
    > I'm not disputing what you indicated, but I'm starting to think that
    > this (adding mod_ssl incrementally) may not be possible for me at this
    > point.
    >
    > FYI, I have been searching for a few days, and I just ran across the
    > following:
    >
    > " The normal procedure with apxs is to compile Apache
    > first, and then, using apxs, compile the modules you
    > want to use and insert them into the server. However,
    > mod_ssl needs to be compiled into the server the normal
    > way before you can use it via apxs. Once mod_ssl is in
    > the server for the first time, you can then upgrade it
    > via apxs without having to completely recompile Apache."
    >
    > I have a ../mod_ssl source directory that was included in the original
    > Apache source distribution, but a lot of the information that I've
    > looked at states to start with a "./configure", but there is no
    > configure script in that mod_ssl source directory.
    >
    > I may have to "punt" on this one, and re-do the Apache
    > configure/make/make install again, I think :(...
    >
    > Jim

    If you still have the source for the original installation you can just
    do the ./configure --prefix=/opt/sfw/apache --with apxs
    --with-ssl=../path/to/ssl/I_built ... then just a 'make' then copy the
    module parts to the relevant apache directories, then ofcourse make your
    certs. If not you can download the source for your current release from
    apache.org.

    Or better still, take this chance to update your apache distribution to
    the latest release (or one you feel comfortable with) and rebuild the
    whole thing ! I get the idea you really don't feel like doing this but
    it should only take about an hour and there's not reallt much to go
    wrong. Just rename your current apache directory to something like
    /opt/sfw/apache-bak before you do a make install
    That way if goes wrong it's just a matter of renaming directories

    HTH
    Jim


  • Next message: Martin: "Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a questionf_how_good_you_are,"

    Relevant Pages

    • Re: Do I need to recompile Apache 2 with apxs for PayPal?
      ... supposedly was Apache 2.0 specific!). ... There's no need to explicitly enable apxs. ... > apxs is just used to compile Apache modules, such as the Pay Pal one ... > you're trying to install. ...
      (RedHat)
    • Problems complieing apache_1.3.31 and SSL
      ... > Final apache compile error message: ... not be in the mod_ssl source tree. ... around it by including a version of ssl_expr_scan.c that does compile. ...
      (comp.unix.solaris)
    • Re: Viewing web content off-line (Apache) - default Oracle install of self-service apps
      ... If the Apache binary delivered with Oracle was compiled with DSO (httpd -l ... to see the list) then you can use APXS to compile the modules, ... then just build your own Apache and drop it in. ... IMHO your best bet would be one of the Authen/Authz handler combinations. ...
      (Security-Basics)
    • Re: How to ADD SSL Support to Apache?
      ... > You'll have to compile ssl then compile ... " The normal procedure with apxs is to compile Apache ... I have a ../mod_ssl source directory that was included in the original ...
      (comp.unix.solaris)
    • Re: FreeBSD 7.0 + apache 1.3.41 + php 5.2.8 = fail
      ... compiled from source, so I suspect it's something with apache, not ... why don't you use ports at all?! ... I need to compile in options I want, and I don't want any updates to ... I'm not using the ports for apache of php. ...
      (comp.unix.bsd.freebsd.misc)