Simple CA implementation in PHP example with XML read / write for initial and output data