On a single IP running h3 server instance, there can be served WebApps of many different domains.
The requested by client, e.g. browser, domain is identified in TLS SNI extension of ClientHello TLS message to use proper TLS certificate with it.
I have for this a new class needed for using proper .jks file with domain name, pointed in SNI.
This Map should be loaded on server startup according to any specific config implementation. e.g. in jaisocx there is the xml config, where each domain node has text xml attributes with paths to the according .jks file. Xml reader loads .xml config, and fills this HashMap with proper domains names served on the IP, mapped to certs from the chain and private key.
On a single IP running h3 server instance, there can be served WebApps of many different domains. The requested by client, e.g. browser, domain is identified in TLS SNI extension of ClientHello TLS message to use proper TLS certificate with it.
I have for this a new class needed for using proper .jks file with domain name, pointed in SNI.
This Map should be loaded on server startup according to any specific config implementation. e.g. in jaisocx there is the xml config, where each domain node has text xml attributes with paths to the according .jks file. Xml reader loads .xml config, and fills this HashMap with proper domains names served on the IP, mapped to certs from the chain and private key.