Fixed SSL config bug