Controller Fix for SSL error