Fixes all SSL issues