Dispatch Reboot- Example SSL Client Configuration
import dispatch.Http import nl.altindag.ssl.SSLFactory import nl.altindag.ssl.util.NettySslUtils object App { def main(args: Array[String]): Unit = { val sslFactory = SSLFactory.builder() .withIdentityMaterial("identity.jks", "password".toCharArray) .withTrustMaterial("truststore.jks", "password".toCharArray) .build() val sslContext = NettySslUtils.forClient(sslFactory).build val client = Http.withConfiguration(builder => builder.setSslContext(sslContext)) } }