[ANN] chess puzzles on gemini

Sean Conner sean at conman.org
Fri Dec 4 22:12:48 GMT 2020


It was thus said that the Great colecmac at protonmail.com once stated:
> > PS: and yes, it does mean I managed to use SNI to host several domain
> > on the same server.
> 
> How did you do this? I've seen some general SNI proxies that would probably
> work, but I'm interested in your specific setup.

  My server [1] uses libtls [2] and to support multiple hosts, you need to
assign multiple cert/key pairs per interface.  you first call
tls_config_set_keypair_file() for the first cert/key, then call
tls_config_add_keypair_file() for each additional cert/key you want to
support.  I expect it to be similar to other TLS libraries out there.

  -spc

[1]	https://github.com/spc476/GLV-1.12556

[2]	From the LibreSSL distribution


More information about the Gemini mailing list