converted https setup to be more like whats recommended in spring docs