Fixed an issue with https warnings.