From 46e49260b35a2a39bbb92f44ceb598ab2db94d6a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Nov 2021 17:46:43 +0000 Subject: Allow SNI wildcarding for *.example.com Signed-off-by: Laurent Bercot --- doc/s6-tlsd-io.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/s6-tlsd-io.html') diff --git a/doc/s6-tlsd-io.html b/doc/s6-tlsd-io.html index b2a4a1e..f21d487 100644 --- a/doc/s6-tlsd-io.html +++ b/doc/s6-tlsd-io.html @@ -128,6 +128,17 @@ environment variable. If snilevel is 2 or more, the entirely ignored.

+

+ You can wildcard the first level of a SNI domain: you can point +to a valid certificate for foo.example.com for all +values of foo via a variable called CERTFILE:*.example.com +(and have the corresponding KEYFILE:*.example.com). Only the +first level can be wildcarded, and this does not work for top-level +domains (you cannot hold a certificate for *.com). Note: if you are +using a shell to handle your environment variables, be careful to +properly quote them so that it does not attempt to expand the asterisks. +

+

If you are using client certificates, s6-tlsd-io also requires either one of the following variables to be set: -- cgit v1.2.3