Set ri_id to reqid when setting user certificate