Score:0

Apache Server 2.4.53 with Custom Built OpenSSL

in flag

I am trying to launch an Apache server on Ubuntu 20.04 running a custom built OpenSSL, but I don't want to install it on my machine, instead, I want to show the server where it can find all libraries and configuration files relevant to OpenSSL. As you guess, this is an experimental study, so I don't want to mess with my default OpenSSL.

I used the following command to configure my server:

./configure --prefix=/home/samettonyali/Desktop/Workspace/httpd-2.4.53 --enable-ssl --with-ssl=/home/samettonyali/Desktop/Workspace/openssl --enable-ssl-staticlib-deps --enable-mods-static=ssl --with-expat=/home/samettonyali/Desktop/Workspace/expat-2.4.8 --with-included-apr --with-included-apr-util --with-crypto

Then,

make and make install (without sudo)

When I check it using the following command

curl --head http://localhost:4433/ It yields the following output: HTTP/1.1 400 Bad Request Date: Thu, 02 Jun 2022 18:49:26 GMT Server: Apache/2.4.53 (Unix) OpenSSL/1.1.1f Content-Length: 362 Connection: close Content-Type: text/html; charset=iso-8859-1

As you can see in the output the server uses OpenSSL 1.1.1f whereas my custom OpenSSL is built on top of OpenSSL 1.1.1o. Hence, I am unable to use key exchange mechanisms and digital signatures that come with the custom OpenSSL.

Basically I am trying to do the same explained in this link, but I don't want to install the OpenSSL machine-wide, instead, I would like to use it locally.

I'd appreciate if anyone explain how I am supposed to configure the server, so it uses my OpenSSL instead of the one installed on the machine.

kelalaka avatar
in flag
I’m voting to close this question because this is the installation/configuration of cryptographic libraries. This is not on-topic for our site. This is better suited for superuser or [unix.se] or ask.ubuntu
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.