TlsConfig requires that your private key and certificate are on the classpath or a file. For instances where we want self signed certs we are generating them during build time, writing them out to a file and then overriding the config passed into the TlsConfig constructor.
It'd be great if we were able to pass in our self signed cert and key.