move config to etc dir, update cert path