PSCertificateEnrollment icon indicating copy to clipboard operation
PSCertificateEnrollment copied to clipboard

Support Certificate FriendlyName?

Open FzzyBnny opened this issue 2 years ago • 5 comments
trafficstars

Sleepw4lker

This project is awesome! Reviewing the code, it doesn't look like this currently supports adding a FriendlyName to the Certificate. Assuming that is the case, then I think that I have an idea to support this that involves a simple change.

FzzyBnny avatar Feb 13 '23 22:02 FzzyBnny

and I am mostly new to the world of git and contributing. i have this work staged locally, but cannot push to create a feature branch or a pull request. Anyways, let me know what you think, ok? thanks!

FzzyBnny avatar Feb 13 '23 22:02 FzzyBnny

Hello, thanks for your feedback. Shall we exchange about your contribution via e-mail maybe?

Sleepw4lker avatar Feb 16 '23 17:02 Sleepw4lker

Sure that works! Thanks Sleepw4lker!

FzzyBnny avatar Feb 17 '23 15:02 FzzyBnny

Emailed my proposed changes to you earlier this week. Let me know what you think and if it is worth adding it to the module. Thanks!

FzzyBnny avatar Feb 22 '23 17:02 FzzyBnny

Would be great to have friendly name!

ckrueger1979 avatar Mar 24 '23 08:03 ckrueger1979

Hey, I've just been playing with this and while the code for FriendlyName is present in the repo, it hasn't been released to PSGallery. It's only accessible here.

Pxtl avatar Oct 10 '24 20:10 Pxtl

Hi, didn't publish to PS Gallery yet as it I'm still working on finalization. It's a side project for me, so please be patient ;). Cheers

Sleepw4lker avatar Oct 11 '24 07:10 Sleepw4lker

Oh I get that I've got a project or two that's far deader than this one. I just wanted to make sure you'd realized you hadn't pushed it to PSGallery. Eitehr way, we can workaround it by just doing

(gi Cert:\CurrentUser\My\$($response.Certificate.Thumbprint)).FriendlyName = 'this is a friendlyname' where $response is the return value of Get-IssuedCertificate.

Pxtl avatar Oct 11 '24 13:10 Pxtl