Partilhar via


Defining the friendly name certificate property

The friendly name of a certificate can be helpful if multiple certificates with a similar subject exist in a certificate store.

One way to set the friendly name is through the certificate MMC SnapIn. Alternatively certutil.exe can be used in the following way:

  1. Open Notepad and past the following text into the editor

    [Version]
    Signature = "$Windows NT$"
    [Properties]
    11 = "{text}My Friendly Name"

  2. Save the file as friendlyname.inf

  3. Determine the serialnumber of the certificate where the friendly name should be changed.

  4. If the certificate exists in the user’s certificate store, run the following command at a command-line

certutil –repairstore –user my {SerialNumber} FriendlyName.inf

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Is there a specific version of certutil to use for this? I get a too many arguments error. C:Temp>certutil -repairstore my "1b 04 68 ab 00 00 00 03 fc 04" Friendlyname.inf 402.203.0: 0x80070057 (WIN32: 87): ..CertCli Version Expected no more than 2 args, received 3 CertUtil: Too many arguments

  • Anonymous
    November 12, 2015
    Great post from your hands again. I loved the complete article.
    By the way nice writing style you have. I never felt like boring while reading this article.
    I will come back & read all your posts soon. Regards, Lucy.

  • Anonymous
    November 26, 2016
    You do not need the [Version] section.You do need literal {text} to be included in the string.File must be saved ANSI.