Giter Site home page Giter Site logo

Comments (9)

ly4k avatar ly4k commented on September 24, 2024

Hello. It seems like the server dc3 doesn't have the AD CS service installed. The request command should be run against the CA server, not the DC - unless they are the same. :-)

from certipy.

forensic65x avatar forensic65x commented on September 24, 2024

Ok - so both the req and -ca arguments should point to the CA?

ex: certipy req 'domain/usertest:redacted@ca3' -ca ca3 -template User -debug

When I try that, I get the following error:

/usr/share/Certipy# certipy req 'domain/usertest:redacted@cs3' -ca cs3 -template User
Certipy v3.0.0 - by Oliver Lyak (ly4k)

[*] Requesting certificate
[-] Got error: RequestSessionError: code: 0x80070057 - E_INVALIDARG - One or more arguments are invalid.
[-] Use -debug to print a stacktrace

from certipy.

ly4k avatar ly4k commented on September 24, 2024

Yes, but the -ca argument should contain the name of the CA. If you don't know the name of the CA, you can use the "find" command against the DC server

from certipy.

forensic65x avatar forensic65x commented on September 24, 2024

I know the name of the CA - its cs3.

Should the servername after the @ in the req be the CA or a DC?

from certipy.

ly4k avatar ly4k commented on September 24, 2024

Is that the name of the CA server or the CA? There is a difference. After the @ you should put the CA server, and in the -ca you should put the name of the CA. They are usually different. The error you see is because the certificate template does not exist or the name of the CA is not correct

from certipy.

forensic65x avatar forensic65x commented on September 24, 2024

Ok. Is there a seperate command to confirm the name of the CA?

from certipy.

ly4k avatar ly4k commented on September 24, 2024

The "find" command should print the name of the CAs

from certipy.

forensic65x avatar forensic65x commented on September 24, 2024

Thank you. Found it with certutil as well. I appreciate your help.

from certipy.

ly4k avatar ly4k commented on September 24, 2024

Great. So everything worked out? :-)

from certipy.

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.