---
title: "Comment by Ramon on \"How to deliver PFX certificate with Intune\" | Hashnode"
description: "Hi mate, thank you for the tutorial. I hope you can help me to resolve some concerns as I have been doing it but I feel a bit confused: the keyname you named he"
url: "https://hashnode.com/posts/how-to-deliver-pfx-certificate-with-intune/644128088c8faa975529715c/comment/656e9045fb7192b516fd21f2"
---

[Discussion](https://hashnode.com/posts/how-to-deliver-pfx-certificate-with-intune/644128088c8faa975529715c)

Comment [How to deliver PFX certificate with Intune](https://hashnode.com/posts/how-to-deliver-pfx-certificate-with-intune/644128088c8faa975529715c)

[Ramon](https://hashnode.com/@Plata)

[Dec 5, 2023](https://hashnode.com/posts/how-to-deliver-pfx-certificate-with-intune/644128088c8faa975529715c/comment/656e9045fb7192b516fd21f2)

Hi mate, thank you for the tutorial. I hope you can help me to resolve some concerns as I have been doing it but I feel a bit confused:

1.  the keyname you named here as "PFXEncryptionKey" should i replace it with the name of the secret I created in AzureID or must have that name.
2.  Will the UserPFXobject variable create a new certificate?. I did it but the after asking for the password then ask me for UPN, i don't know what is that. I will appreciate your thoughs and help.

[Pavlo Datsiuk](https://hashnode.com/@pavlodk)

[Dec 9, 2023](https://hashnode.com/posts/how-to-deliver-pfx-certificate-with-intune/644128088c8faa975529715c/comment/656e9045fb7192b516fd21f2#reply-657432ffe9e5c65d1da422b8)

Hello Ramon,

1 PFXEncryptionKey should be the same for Add-IntuneKspKey and New-IntuneUserPfxCertificate.

I made use of this "PFXEncryptionKey" exactly value, but probubly you can change it.

2 The New-IntuneUserPfxCertificate command has the following parameters:

PathToPfxFile: The full folder path (including the drive letter) and file name of the PFX file. SecureFilePassword: The password of the PFX file. UserPrincipalName: The user name of the user that the system will deliver the certificate to (typically, an email address). ProviderName: The name of the key storage provider. KeyName: The name of the key. Usage: The intended usage of the certificate.
