Params refactor fix ssl