Fix issue with ssl urls