Tweaks for SSL in production