change default secure mode to ssl only