Apache 基准 HTTPS 问题

Rub*_*tic 7 unix linux apache server

我无法让apache 基准测试与我的网站一起使用。每当我发出此命令时

ab https://example.com/

我会得到这个输出错误:

This is ApacheBench, Version 2.3 <$Revision: 1663405 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking example.com (be patient)...

SSL handshake failed (1).
27506:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-59/src/ssl/s23_clnt.c:593:
..done
Run Code Online (Sandbox Code Playgroud)

这是因为 apache 基准测试无法在我的本地机器上正确检测 SSL 证书吗?

sgi*_*din 8

对于https测试,我使用了abs命令。这是 http 的 ab 的 https 挂件。

当您下载 Apache Server http://httpd.apache.org/download.cgi时,您会在 ab 命令旁边找到它,查看压缩文件 httpd-{version}\support\ 文件夹,您就会看到它。

希望这有帮助