Added a more extensive SSL sandbox.
After running `make examples`, if SSL is enabled, you
can quickly test HTTPS, with optional client-based
certificate authentication using the following process within
the build directory:
```
./examples/https/bin/generate.sh
-- Test without client auth
./examples/example_https \
-cert examples/https/server-crt.pem \
-key examples/https/server-key.pem
curl -vk https://localhost:4443/
-- Test WITH client auth
./examples/example_https \
-cert examples/https/server-crt.pem \
-key examples/https/server-key.pem \
-ca examples/https/ca-crt.pem \
-verify-peer \
-verify-depth 2 \
-enforce-peer-cert
curl -kv \
--key examples/https/client1-key.pem \
--cert examples/https/client1-crt.pem \
https://localhost:4443/
```
7 files changed