Re: PFX file

From: David Cross [MS] (dcross_at_online.microsoft.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 05:30:53 -0800

Just use the PFXExportCertStore function and pass in the password string.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/pfxexportcertstore.asp

-- 
David B. Cross [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Top Whitepapers:
Auto-enrollment whitepaper: 
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/autoenro.mspx
Best Practices for implementing Windows Server 2003 PKI: 
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/ws3pkibp.mspx
Troubleshooting Certificate Status and Revocation whitepaper: 
http://www.microsoft.com/technet/security/topics/crypto/tshtcrl.mspx
Windows Server 2003 web enrollment and troubleshooting guide: 
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/webenroll.mspx
Windows Server 2003 web enrollment and troubleshooting guide: 
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/webenroll.mspx
"Param" <Param@discussions.microsoft.com> wrote in message 
news:9224DF22-1012-43C0-9D94-6C1D42C0808B@microsoft.com...
> Hi,
> I have a pfx file . I have imported it to a memory store.Its is not having
> any password. I used PFXImportCertStore function.
>
> Now I want the same certificate to be exported to a pfx file with a 
> password?
> How it can be done?
>