serverTlsContext
Creates a server-side TlsContextBuilder that can be further customized before building.
If trustCertCollectionFilePath is provided, mutual authentication (client cert required) is enabled.
The builder comes from GrpcSslContexts, so it already has the ALPN configuration that NettyServerBuilder.sslContext requires: a context built straight from it is accepted by com.pambrose.common.dsl.GrpcDsl.server.
Return
a TlsContextBuilder wrapping the configured SslContextBuilder
Parameters
path to the server certificate chain file (required)
path to the server private key file (required)
path to the trusted client CA certificates (enables mutual auth)
Throws
if a required path is empty, a given file does not exist, or a file does not hold valid PEM certificates or an unencrypted PEM private key. Problems the material shows only when it is assembled, such as a broken certificate chain, surface later, as an SSLException from SslContextBuilder.build