Please see the README for instructions on how to configure and run Play to run over HTTPS.
In particular, note that you must have the following:
example.com
to /etc/hosts
./play
scriptPlay is capable of running HTTPS on the server. Play's SSLEngine can be configured for client authentication.
In this example, CustomSSLEngineProvider does the work of setting up the SSLEngine's parameters.
Play can also talk to an HTTPS server using Play WS, even using client authentication. With some additional code, it can use Play WS to communicate outside of Play's application context.
In this example, the Main class can be run independently, and will connect to the Play HTTPS server. Play WS will use Play WS SSL configured with the ws.conf to set up the appropriate passwords and key stores.