Jump to content

Search the Community

Showing results for tags 'certutil'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


WWW


Interests

Found 1 result

  1. Hi i try import protected pfx file to Windows XP by CertUtil i need add a pfx to this CertificateStoreName: "Trusted Root Certification Authorities" "Trusted Publishers" "Third-Party Root Certification Authorities" certutil import pfx to Windows 10 by this command Local $path_OSSys=@WindowsDir&"\System32" If @OSArch="X64" Or @OSArch="IA64" Then $path_OSSys=@WindowsDir&"\SysWOW64" $command="certutil.exe -f -p " & $password &' -importPFX TrustedPublisher "' & $pfx & '"' $iPID = Run($path_OSSys&"\CMD.exe" & " /C " & $command,"",@SW_HIDE) ProcessWaitClose($iPID) $command="certutil.exe -f -p " & $password &' -importPFX AuthRoot"' & $pfx & '"' $iPID = Run($path_OSSys&"\CMD.exe" & " /C " & $command,"",@SW_HIDE) ProcessWaitClose($iPID) work fine. in Windows XP : i add certutil.exe and certadm.dll (Windows Server 2003 -v5.2.3790) to System Folder ($path_OSSys) but it can't support CertificateStoreName and only add this command line Local $path_OSSys=@WindowsDir&"\System32" If @OSArch="X64" Or @OSArch="IA64" Then $path_OSSys=@WindowsDir&"\SysWOW64" $command="certutil.exe -f -p " & $password &' -importPFX "' & $pfx & '"' $iPID = Run($path_OSSys&"\CMD.exe" & " /C " & $command,"",@SW_HIDE) ProcessWaitClose($iPID) it add to pepole only. How to add pfx to "Trusted Root Certification Authorities", "Trusted Publishers" and "Third-Party Root Certification Authorities" (Windows XP only)? how to convert and use X509Store (C# codes here) X509Store store = new X509Store(StoreName.TrustedPublisher, StoreLocation.LocalMachine); store.Open(OpenFlags.ReadWrite); store.Add(new X509Certificate2(PFX, "myPass", X509KeyStorageFlags.MachineKeySet)); store.Close(); X509Store store2 = new X509Store(StoreName.AuthRoot, StoreLocation.LocalMachine); store2.Open(OpenFlags.ReadWrite); store2.Add(new X509Certificate2(PFX, "myPass", X509KeyStorageFlags.MachineKeySet)); store2.Close();
×
×
  • Create New...