Moved the private key and certificate fields to the fields array.