CryptoAPI migration from WinNT to Win2003 server

From: CryptoAPI migration from WinNT to Win200 (Win200_at_discussions.microsoft.com)
Date: 01/26/05

  • Next message: Michel Gallant: "Re: CryptoAPI migration from WinNT to Win2003 server"
    Date: Wed, 26 Jan 2005 08:57:06 -0800
    
    

    Hello-

    Can anyone help me to understand how to enumerate through the key containers
    (for specific profiles) on a windows 2003 server?

    CryptAquireContext does grab the active key container, but if the system has
    multiple key containers for a particular user profile I am not seeing the
    solution to knowing/grabbing all the key containers? Where this would be
    benifical for me is for say the export process where I want to export
    multiple key containers to another system.

    There is a longer explination below if anyone is interested in greater
    detail of what I am trying to do.

    Any suggestions or help for things to look at for this software migrations
    would be greatly appreciated.
    Thanks
    ***************

    I currently am trying to migrate a program written durning the Windows NT
    4.0 days to windows 2003 server. This program implements the CryptoAPI and
    WinReg api.

    Basically, the issue revolves around accessing the key containers on the
    system the application is installed on. For WinNT 4.0 the storage of the key
    containers was in the registry. So the program would enumerate through the
    registry space grabbing the key containers (ie in an export).

    Obviously, the key containers are stored in a different location (profile
    based on the file system) in the newer OS'es. It seems all the cryptoAPI
    calls still function correclty. My issue resides in the fact that I need to
    change how the cryptoAPI accesses the key containers (since the change was in
    registry access).


  • Next message: Michel Gallant: "Re: CryptoAPI migration from WinNT to Win2003 server"

    Relevant Pages

    • Re: Your digital ID name cannot be found by the underlying security system
      ... apparently I have an issue with the Windows "key containers ... They asked me to replace the digital id using FireFox ... There are conditions that corrupt the Windows crypto store. ...
      (microsoft.public.outlook)
    • RE: creating rouming user profiles
      ... where I can learn more about windows 2003 server? ... because I have same big jobs and all the clients they want windows 2003 ... > Thank you for posting to the SBS Newsgroup. ... > you want to know how to create Roaming Profile on Windows Server 2003. ...
      (microsoft.public.windows.server.sbs)
    • RE: Third Request - Exchange will not install
      ... if you want to move the Windows Small Business Server ... Also check the path of the public folder database ... Another way is to create a local profile, ...
      (microsoft.public.windows.server.sbs)
    • Re: Event ID 1000 (Userenv)
      ... Windows 2000 SP4: ... This issue can occur if the share that contains your user profile is not ... Server or change the permissions on the share to Full Control. ... the computer can unload and reconcile user profiles. ...
      (microsoft.public.win2000.termserv.apps)
    • RE: Migration Of User
      ... user in Windows 2000 Server to SBS 2003 Server. ... if you want to migrate the user's profile from Windows 2000 domain to ...
      (microsoft.public.windows.server.sbs)