Write server keypair to xml.