You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kory Wheatley <ko...@gmail.com> on 2016/07/17 05:56:09 UTC

[users@httpd] Re: Best way to install openssl and apache 2.4.18 for ssl

Does anyone have thought about this install.  I will be creating a self
signed certificate for testing

On Wed, Jul 13, 2016 at 7:28 AM, Kory Wheatley <ko...@gmail.com>
wrote:

> Steps I have for installing Apache with openssl.  Please let me know if
> there's issues.  I will be using a secure server for setup
>
>
> config shared --prefix=/apps/openssl --openssldir=/apps/openssl
>
> $ make
>
> $ make install
>
> Now, get the latest Apache 2.4.x, APR and APR-Util libraries. You will
> need to unpack all three packages into the same source tree, with the
> latter two in the location where Apache expects them. For example:
>
>
>
>
>
>
>
> 1. $ tar zxvf httpd-2.4.18.tar.gz
>
> 2. $ cd httpd-2.4.18/srclib/
>
> 3. $ tar zxvf ../../apr-1.4.8.tar.gz
>
> 4. $ ln -s apr-1.4.8/ apr
>
> 5. $ tar zxvf ../../apr-util-1.5.2.tar.gz
>
> 6. $ ln -s apr-util-1.5.2/ apr-util
>
>
>
> CPPFLAGS="-I/apps/openssl/include";export CPPFLAGS
>
> LDFLAGS="-L/apps/openssl/lib"; export LDFLAGS
>
>
>
>
>
> ./configure --enable-ssl=static --prefix=/apps/apache --enable-so
> --enable-proxy --enable-rewrite
>
> --with-included-apr --enable-ssl --with-ssl=/apps/openssl
>
> --with-pcre=/apps/pcre CPPFLAGS=-I/apps/openssl/include
> LDFLAGS=-L/apps/openssl/lib
>
>
>
> make
>
> make install
>