Skip to content

Commit 5c8df7c

Browse files
goat-sshSuperQ
andauthored
Add documentation for client_allowed_sans (#4706)
* Add documentation for client_allowed_sans. Signed-off-by: Shyukri Shyukriev <[email protected]> * Update CHANGELOG.md Signed-off-by: Ben Kochie <[email protected]> --------- Signed-off-by: Shyukri Shyukriev <[email protected]> Signed-off-by: Ben Kochie <[email protected]> Co-authored-by: Ben Kochie <[email protected]>
1 parent 64a7edf commit 5c8df7c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/https.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ tls_server_config:
4444
# CA certificate for client certificate authentication to the server.
4545
[ client_ca_file: <filename> ]
4646
47+
# Verify that the client certificate has a Subject Alternate Name (SAN)
48+
# which is an exact match to an entry in this list, else terminate the
49+
# connection. SAN match can be one or multiple of the following: DNS,
50+
# IP, e-mail, or URI address from https://pkg.go.dev/crypto/x509#Certificate.
51+
[ client_allowed_sans:
52+
[ - <string> ] ]
53+
4754
# Minimum TLS version that is acceptable.
4855
[ min_version: <string> | default = "TLS12" ]
4956

0 commit comments

Comments
 (0)