Using apache bench against a webservice with a self-signed certificate

8.4k views Asked by At

Is it possible to test a web service that is using a self-signed certificate with Apache Bench? By default, it will fail with SSL read failed - closing connection. I'm unable to find anyway to have it ignore SSL failures.

$ ab -n 1 -c 1 https://localhost:8080
Benchmarking localhost (be patient)...SSL read failed - closing connection
..done

Additionally, if this is not possible then does anyone know of an alternative tool which allows for this?

0

There are 0 answers