如何使用libssl安装Siege? [英] How to install Siege with libssl?

查看:347
本文介绍了如何使用libssl安装Siege?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Mac OS 10.12上使用libssl安装 Siege ,但是当我针对一个https网址,我收到以下错误.

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.

[错误] HTTPS需要libssl:无法访问 https://example.com/ 使用此协议:套接字已连接

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

我正在使用 wiki 中的以下命令进行安装:

I am installing with the following commands from this wiki:

./configure --with-ssl
make
make install

推荐答案

使用brew安装围攻.
它为我解决了这个问题.我唯一要做的就是链接攻城.

use brew to install siege.
it fixed the issue for me. the only extra thing i had to do was to link siege.

https://coderwall .com/p/qfrk1w/making-siege-work-with-https-on-os-x-mavericks . brew卸载攻城战
brew install openssl
brew链接--force openssl
酿造安装围攻

https://coderwall.com/p/qfrk1w/making-siege-work-with-https-on-os-x-mavericks . brew uninstall siege
brew install openssl
brew link --force openssl
brew install siege

ti必须要做的额外步骤(Mac OS Sierra低端). 在-s/usr/local/Cellar/siege/4.0.4/bin/siege/usr/local/bin/siege中.

The extra steps ti had to do (Mac OS Sierra low) . ln -s /usr/local/Cellar/siege/4.0.4/bin/siege /usr/local/bin/siege .

这篇关于如何使用libssl安装Siege?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆