From dc2716fdb7ebf278f185976b1f9c03b60aaca8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Mon, 17 Aug 2020 16:20:32 +0200 Subject: [PATCH] Add instuctions in quickstart to start Kapow! with HTTPS --- docs/source/the_project/quickstart.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/source/the_project/quickstart.rst b/docs/source/the_project/quickstart.rst index eacca58..463bc77 100644 --- a/docs/source/the_project/quickstart.rst +++ b/docs/source/the_project/quickstart.rst @@ -153,6 +153,13 @@ At this point, we only need to launch :program:`kapow` with our :file:`ping.pow` $ kapow server ping.pow +*Kapow!* can expose the user interface through HTTPS, to do this provide the +corresponding key and certificates chain paths at startup: + +.. code-block:: console + + $ kapow server --keyfile path/to/keyfile --certfile path/to/certfile ping.pow + Consume the Service +++++++++++++++++++ @@ -166,7 +173,14 @@ In this example we're using :program:`curl`: PING 10.10.100 (10.10.100): 56 data bytes 64 bytes from 10.10.100: icmp_seq=0 ttl=55 time=1.425 ms -*et voilĂ  !* +*et voilĂ  !*, if you're using HTTPS don't forget to provide the CA certificate +if needed: + +.. code-block:: console + + $ curl --cacert path/to/CAfile https://external.host/ping + PING 10.10.100 (10.10.100): 56 data bytes + 64 bytes from 10.10.100: icmp_seq=0 ttl=55 time=1.425 ms Under the Hood