aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ssl_hello_world/README.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-01-26 15:38:40 +0100
committerLoïc Hoguin <[email protected]>2024-01-26 15:38:40 +0100
commit1c464083fa7232ac61984d0ce109ed50c85c4ecf (patch)
tree6fda1c841002d2f1d52b51d7a68c37d70566c5ad /examples/ssl_hello_world/README.asciidoc
parenta0314a6dff2f50f8cf21cd5ff0ca33b27355baf4 (diff)
downloadcowboy-1c464083fa7232ac61984d0ce109ed50c85c4ecf.tar.gz
cowboy-1c464083fa7232ac61984d0ce109ed50c85c4ecf.tar.bz2
cowboy-1c464083fa7232ac61984d0ce109ed50c85c4ecf.zip
Update ssl_hello_world example certificate
Diffstat (limited to 'examples/ssl_hello_world/README.asciidoc')
-rw-r--r--examples/ssl_hello_world/README.asciidoc7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/ssl_hello_world/README.asciidoc b/examples/ssl_hello_world/README.asciidoc
index 70ee7f8..feaa60c 100644
--- a/examples/ssl_hello_world/README.asciidoc
+++ b/examples/ssl_hello_world/README.asciidoc
@@ -9,8 +9,9 @@ $ make run
Then point your browser to https://localhost:8443
-You will need to temporarily trust the root certificate authority,
-which can also be found in `priv/ssl/cowboy-ca.crt`.
+You will be greeted by a security message. You can ask for more
+information and ultimately accept to access localhost. This is
+due to the example using a self-signed certificate.
Recent browsers will communicate using HTTP/2. Older browsers
will use HTTP/1.1.
@@ -19,7 +20,7 @@ will use HTTP/1.1.
[source,bash]
----
-$ curl --cacert priv/ssl/cowboy-ca.crt -i https://localhost:8443
+$ curl -k -i https://localhost:8443
HTTP/1.1 200 OK
connection: keep-alive
server: Cowboy