fix insert retrieve and delete cert info