Revert "Use custom certificate for https"

This reverts commit de744167e988e96acebc7a0abf71eb151826c6e4.