title: Can HTTPS listening be enabled in Play Framework during tests?
body: <p>I'm doing some testing in Play right now that involves an HTTPS websocket client. It's going through Netty for HTTPS functionality, so I'm not using any built in HTTP classes (such as anything in the WS namespace). I would like to write a couple of tests to ensure that SSL connects correctly and that it rejects invalid data properly.</p>
  
  <p>My thought was to just have Play run HTTPS during testing with a sample keystore, however in test, it looks like Play is not respecting the https.port setting (I'm getting 'connection refused' during test, but it works fine in development).</p>
  
  <p>I've added this to my build.sbt:</p>
  
  <p><code>javaOptions in (Test) += "-Dhttps.port=23456"</code></p>
  
  <p>Is there any way to get HTTPS running in test?</p>