|
Hi, I am trying to create a certificate for installing a VSTO Excel Addin. I am able to create the certificate successfully and install it using the following command certmgr.exe -add MyCert.cer -s -r localMachine root I then made this command as a part of my install so that i can install this certificate on the client machine. But now when i wanted to uninstall the certificate, it is checking for a friendly name. Can someone please tell me how to add the friendly name while creating a certificate. Thanks, Shail | | Shailendra_G Monday, August 24, 2009 7:43 PM | Hi Shailendra_G, According to your post, I think you are using Certificate Manager Tool (Certmgr.exe) to install the .cer. Do you use Certificate Creation Tool (Makecert.exe) to create your .cer file? Based on my research, I don't see there is any option for MakeCert.exe to add friendly name. But when I come to Certmgr.exe , I see one option "/n commonName String ", it specifies the common name of the certificate to add, delete, or save. Does it what the friendly name you mean? Here is the detail information about it. http://msdn.microsoft.com/en-us/library/e78byta0%28VS.80%29.aspx Hope this can offer you some useful information. If I misunderstood you, please feel free to tell me. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Proposed As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 3:09 AM
- Marked As Answer byKira QianMSFT, ModeratorMonday, August 31, 2009 8:26 AM
-
| | Kira Qian Thursday, August 27, 2009 3:08 AM | Hi Shailendra_G, According to your post, I think you are using Certificate Manager Tool (Certmgr.exe) to install the .cer. Do you use Certificate Creation Tool (Makecert.exe) to create your .cer file? Based on my research, I don't see there is any option for MakeCert.exe to add friendly name. But when I come to Certmgr.exe , I see one option "/n commonName String ", it specifies the common name of the certificate to add, delete, or save. Does it what the friendly name you mean? Here is the detail information about it. http://msdn.microsoft.com/en-us/library/e78byta0%28VS.80%29.aspx Hope this can offer you some useful information. If I misunderstood you, please feel free to tell me. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Proposed As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 3:09 AM
- Marked As Answer byKira QianMSFT, ModeratorMonday, August 31, 2009 8:26 AM
-
| | Kira Qian Thursday, August 27, 2009 3:08 AM |
|