Fix for HTTPS.