diff options
author | Loïc Hoguin <[email protected]> | 2019-06-11 15:53:47 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-11 15:53:47 +0200 |
commit | e031713c0e8bd871248dbbbbdec1ea28609f4431 (patch) | |
tree | b2aa91d26c6de0bb02e5fc1ac04093c7a1af9a2e /docs/index.xml | |
parent | 6c17bcc5ecd1ab7f26fad8e280d782bd5f3965d6 (diff) | |
download | ninenines.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.xml | 2 |
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()) -&gt; binary() | undefined Return the peer&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, "path/to/cert.pem"}, {verify, verify_peer} ], #{ env =&gt; #{dispatch =&gt; Dispatch} }).</description> +{ok, _} = cowboy:start_tls(example, [ {port, 8443}, {certfile, "path/to/cert.pem"}, {verify, verify_peer} ], #{ env =&gt; #{dispatch =&gt; Dispatch} }).</description> </item> <item> |