summaryrefslogtreecommitdiffstats
path: root/docs/en/ranch/1.4/guide/ssl_auth/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-16 09:48:31 +0200
committerLoïc Hoguin <[email protected]>2019-10-16 09:48:31 +0200
commit8459bebceb9533948193774371cbd9fd571b78ea (patch)
treedd8e5eb8aa21e68b47f2526a3db9a276ea0d4327 /docs/en/ranch/1.4/guide/ssl_auth/index.html
parent31cedd105e5f6ecfbfcb925d4703cdf7b5ae114f (diff)
downloadninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.gz
ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.bz2
ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.zip
Cowboy 2.7.0
Diffstat (limited to 'docs/en/ranch/1.4/guide/ssl_auth/index.html')
-rw-r--r--docs/en/ranch/1.4/guide/ssl_auth/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/en/ranch/1.4/guide/ssl_auth/index.html b/docs/en/ranch/1.4/guide/ssl_auth/index.html
index 85364c3b..8098acfc 100644
--- a/docs/en/ranch/1.4/guide/ssl_auth/index.html
+++ b/docs/en/ranch/1.4/guide/ssl_auth/index.html
@@ -90,7 +90,7 @@
<h2 id="_transport_configuration">Transport configuration</h2>
<p>The SSL transport does not request a client certificate by default. You need to specify the <code>{verify, verify_peer}</code> option when starting the listener to enable this behavior.</p>
<div class="listingblock"><div class="title">Configure a listener for SSL authentication</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -109,7 +109,7 @@ http://www.gnu.org/software/src-highlite -->
<h2 id="_authentication">Authentication</h2>
<p>To authenticate users, you must first save the certificate information required. If you have your users&apos; certificate files, you can simply load the certificate and retrieve the information directly.</p>
<div class="listingblock"><div class="title">Retrieve the issuer ID from a certificate</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -123,7 +123,7 @@ http://www.gnu.org/software/src-highlite -->
<p>To retrieve the <code>IssuerID</code> from a running connection, you need to first retrieve the client certificate and then extract this information from it. Ranch does not provide a function to retrieve the client certificate. Instead you can use the <code>ssl:peercert/1</code> function. Once you have the certificate, you can again use the <code>public_key:pkix_issuer_id/2</code> to extract the <code>IssuerID</code> value.</p>
<p>The following function returns the <code>IssuerID</code> or <code>false</code> if no client certificate was found. This snippet is intended to be used from your protocol code.</p>
<div class="listingblock"><div class="title">Retrieve the issuer ID from the certificate for the current connection</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->