try { final SelfSignedCertificate ssc = new SelfSignedCertificate(); builder.tls(new TlsConfig(ssc.certificate(), ssc.privateKey(), null)); } catch (Exception e) { Exceptions.throwUnsafely(e);
try { final SelfSignedCertificate ssc = new SelfSignedCertificate(); builder.tls(new TlsConfig(ssc.certificate(), ssc.privateKey(), null)); } catch (Exception e) { Exceptions.throwUnsafely(e);