Configuration issue for Spray https server with self-signed certificate?
I am using Spray 1.3, Akka 2.3, and Scala 2.11 on Mac 10.9.4 to set up an HTTP server. I am following the Ch. 2 example in Manning's Akka in Action (sample code available here: https://github.com/RayRoestenburg/akka-in-action.git ), which compiles, runs, and behaves as expected when I use http, but I am having trouble configuring it for use with https. To run with https, I have generated a self-signed certificate as follows: keytool -genkey -keyalg RSA -alias selfsigned -keystore myjks.jks -storepass abcdef -validity 360 -keysize 2048 Following this example, https://github.com/spray/spray/tree