"We only accept an end of the war with guarantees that we won’t be attacked again," said an Iranian official.