Windows 7 Import PKCS#12 works, export seems to succeed, but no private key is present in pfx

Discussion in 'Programming and Scripting' started by ddt, Apr 25, 2011.

  1. ddt

    ddt New Member

    Joined:
    Apr 25, 2011
    Messages:
    2
    Likes Received:
    0
    When I import this PKCS12 file in Windows XP with the private key marked exportable, and later export this certificate with the private key. It works perfect.
    With Windows 7 it also seems to work perfect, but when I analyse the generated pfx-file the private key is not exported.
    I found out it works when import with extended properties, but I cannot do this programming in Visual Studio 2008.
    - Why?
    - What can I do programmatically to get this working?
    There is no password on the P12.

    Greetz,

    DDT
     

    Attached Files:

Share This Page

Loading...