Add identity flag for providing certificate name

Had a previous PR for this, which I deleted accidentally...