configure ssl for devise

Fixes #715