Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6897113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:07:43+00:00 2026-05-27T07:07:43+00:00

If I needed to give a certificate an additional permission as described below, where

  • 0

If I needed to give a certificate an additional permission as described below, where do I even begin with in Powershell? There must be a Windows commandline executable that I have to start with from commandline. Only then I could think about writing it in a powershell script, correct?

  1. Click Start, type mmc in the Search programs and files box, and then press ENTER.
  2. On the File menu, click Add/Remove Snap-in.
  3. Under Available snap-ins, double-click Certificates.
  4. Select Computer account, and then click Next.
  5. Click Local computer, and then click Finish. Click OK.
  6. Under Console Root, Certificates (Local Computer), in the Personal store, click Certificates.
  7. Right-click xxAzurehost1 certificate that has been created earlier. Choose All Tasks > Manage Private Keys. Click Add and then Advanced.
    Click Locations and choose your local computer. Click Find Now. Select
    NETWORK SERVICE in the search results and click OK. Click OK. In the
    Permissions for xxxazurehost1 private keys window, select NETWORK
    SERVICE and give Read permissions. Click OK.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:07:43+00:00Added an answer on May 27, 2026 at 7:07 am

    To control the ACL for the private key all you have to do is edit a file ACL. The trick is to find which file.

    Private keys are stored in:

    %ProgramData%\Microsoft\Crypto
    

    On XP:

    C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto
    

    Under here you’ll see keys organized by algorithm e.g. DSS, RSA.

    The User Store will be subfolder with a user SID. The Local Machine store will be in subfolder:

    MachineKeys
    

    Here’s a way to get the file which stores the private key information for your cert.

    1. First go into the local machine personal certificate store:

      PS> cd cert:\LocalMachine\My
      
    2. Now you have to get a handle to your cert. There’s more than one way to do this, here’s one using the thumbprint:

      $cert = dir | ? {$_.Thumbprint -eq "232820EEBF7DBFA01EE68A28BA0450671F862AE1"}
      
    3. Now you can find the private key file name like this:

      $fileName = $cert.PrivateKey.CspKeyContainerInfo.UniqueKeyContainerName
      $keyFile = dir -Path "C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto" -Recurse | ? {$_.Name -eq $fileName}
      
    4. $keyFile will be the FileInfo object you can change the ACL on with either Set-ACL or icacls.exe

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I needed a method to give me all but the last item in a
I need a function in Java to give me number of bytes needed to
I needed to be able to give the hex representation of a SHA512 hash.
Needed Finfo but deleted msi package, so uninstalled php 5.3.0, downloaded 5.3.2 and installed.
I needed to create some PDF document , that can set background color of
I needed some simple string encryption, so I wrote the following code (with a
We needed to monitor all processes Registry calls/File Sytem calls/Process creations in the system
I needed to find all the files that contained a specific string pattern. The
I needed to re-install my computer but I didn't think about exporting the data
I needed a generic collection or list that can fire an event when an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.