Retired Microsoft Blog disclaimer

This directory is a mirror of retired "Decrypt My World" MSDN blog and is provided as is. All posting authorship and copyrights belong to respective authors.
Original URL: https://blogs.msdn.microsoft.com/alejacma/2011/11/07/how-to-add-friendly-name-to-your-enrolled-certificates-programmatically/
Post name: How to add Friendly Name to your enrolled certificates programmatically
Original author: Alejandro Campos Magencio
Posting date: 2011-11-07T08:05:57+00:00


Hi all,

One of my customers was creating certificate requests programmatically with CertEnroll and a code like the following: How to create a certificate request with CertEnroll and .NET (C#). Hewanted to set Friendly Name for the enrolled certificate. Friendly Name is a property (and not an extension of the certificate) that can be set on the enrollment object itself:

IX509Enrollment::CertificateFriendlyName property

You should set this property before calling Enroll method.

I hope this helps.

Regards,

Alex (Alejandro Campos Magencio)


Share this article:

Comments:

Comments are closed.