Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Siege with libssl?

I am trying to install Siege with libssl on Mac OS 10.12, but when I use the utility against an https url I am receiving the following error.

[error] HTTPS requires libssl: Unable to reach https://example.com/ with this protocol: Socket is already connected

I am installing with the following commands from this wiki:

./configure --with-ssl
make
make install
like image 278
Michael Avatar asked Mar 27 '17 17:03

Michael


1 Answers

This is on macOS Mojave, with openssl installed using HomeBrew. You'll be using a brew command to get the openssl install directory:

git clone https://github.com/JoeDog/siege.git
cd siege

./utils/bootstrap

# here's what you're looking for:
./configure --with-ssl=$(brew --prefix openssl)

make

Now you can run siege with ./src/siege https://whatever.domain.invalid. This was tested with Siege 4.0.4rc3 commit hash 05dcfac88ecdd57bd94276e4ce82477cba9129b6 and openssl 1.0.2s on macOS 10.14.5.

like image 98
internetdotcom Avatar answered Oct 11 '22 16:10

internetdotcom