summaryrefslogtreecommitdiffstats
path: root/docs/index.xml
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-11 15:53:47 +0200
committerLoïc Hoguin <[email protected]>2019-06-11 15:53:47 +0200
commite031713c0e8bd871248dbbbbdec1ea28609f4431 (patch)
treeb2aa91d26c6de0bb02e5fc1ac04093c7a1af9a2e /docs/index.xml
parent6c17bcc5ecd1ab7f26fad8e280d782bd5f3965d6 (diff)
downloadninenines.eu-e031713c0e8bd871248dbbbbdec1ea28609f4431.tar.gz
ninenines.eu-e031713c0e8bd871248dbbbbdec1ea28609f4431.tar.bz2
ninenines.eu-e031713c0e8bd871248dbbbbdec1ea28609f4431.zip
Joe Armstrong the rubber duck
Diffstat (limited to 'docs/index.xml')
-rw-r--r--docs/index.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.xml b/docs/index.xml
index 184d1467..1ce55c1a 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -5806,7 +5806,7 @@ Using the default configuration this function will always return undefined. You
<description>Name cowboy_req:cert - Client TLS certificate
Description cert(Req :: cowboy_req:req()) -&amp;gt; binary() | undefined Return the peer&amp;apos;s TLS certificate.
Using the default configuration this function will always return undefined. You need to explicitly configure Cowboy to request the client certificate. To do this you need to set the verify transport option to verify_peer:
-{ok, _} = cowboy:start_tls(example, [ {port, 8443}, {cert, &#34;path/to/cert.pem&#34;}, {verify, verify_peer} ], #{ env =&amp;gt; #{dispatch =&amp;gt; Dispatch} }).</description>
+{ok, _} = cowboy:start_tls(example, [ {port, 8443}, {certfile, &#34;path/to/cert.pem&#34;}, {verify, verify_peer} ], #{ env =&amp;gt; #{dispatch =&amp;gt; Dispatch} }).</description>
</item>
<item>