Switch deprecation method for SSL