Giter VIP home page Giter VIP logo

Comments (8)

ukoloff avatar ukoloff commented on June 1, 2024

You are right:

Only current user certificates are accessible using this method, not the local machine store.

(see the whole story).

I hope, the way to fetch computer's certificates exists. But should we mess with it?

For example, on my computer there are 59 User certificates and 58 Computer ones. I doubt someone ever installed 58 certificates into my user account. Not me. So, I think, Computer certificates are automagically included into User list by M$. Or not?

from win-ca.

joper30 avatar joper30 commented on June 1, 2024

is possible read private key?

from win-ca.

ukoloff avatar ukoloff commented on June 1, 2024

@joper30 It is theoretically possible, but clearly beyond of scope of win-ca. One needs more powerful tool for this purpose.

from win-ca.

joper30 avatar joper30 commented on June 1, 2024

@joper30 It is theoretically possible, but clearly beyond of scope of win-ca. One needs more powerful tool for this purpose.

ohh, please , references?

from win-ca.

joper30 avatar joper30 commented on June 1, 2024

please , is posible sign with certificate win-ca ?

from win-ca.

ukoloff avatar ukoloff commented on June 1, 2024

I think, the easiest way is to use edge and run C# or PowerShell script to fetch private key (MSDN provides a log of examples). Unfortunately, edge seems unsupported but a fork exist, may be it works.

from win-ca.

macpraveen avatar macpraveen commented on June 1, 2024

Is it possible to use this method to open local machine computer certificates ?
https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certopenstore

Thanks

from win-ca.

sebastianfrey avatar sebastianfrey commented on June 1, 2024

When running win-ca in an environment where the executing user is a System user, win-ca fails to pull the self signed certificates, since they are available through the System Certificates store and not the User Certificates store. In enterprise environments it is common practice, that services are executed as System user. So indeed it would be nice, to have the ability to specify from which store win-ca should read.

from win-ca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.