Fix for SSL