New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E_INVALIDARG - One or more arguments are invalid #81
Comments
I have the same issue. [+] Trying to resolve 'EXAMPLE.COM' at '192.168.17.139' |
did you find the solution ? |
sorry, I didn't find a solution |
Hello everyone. This error usually comes from an invalid CA name. The CA name must match a valid one and cannot be just a DNS name or something close to the actual CA name. The CA name can be found in the output from the "find" command. Please let me know if this fixes the issue. Otherwise, you can send me a private message with some more specific details about the environment. The information provided for now is not enough for me to debug the issue. Best regards |
ok, thank you for your reply |
I tried that agian and i got "netbios connection timeout" this time : Certipy v4.0.0 - by Oliver Lyak (ly4k) [+] Trying to resolve 'EXAMPLE.COM' at '192.168.17.139' During handling of the above exception, another exception occurred: Traceback (most recent call last): |
certipy-ad req -username 'svc_admin$' -password 'demo@123' -ca 'AUTHORITY-CA' -target 10.10.11.222 -template 'CorpVPN' -upn "administrator@authority.htb" -dns authority.authority.htb -debug [+] Trying to resolve '' at '183.82.243.66' i didnt get a solution that solution not work for me |
An error occurred while requesting a certificate using a domain user
I am using version 4.0
This is the command I used:
certipy req -username John@test.com -p Passowrd! -ca test-DC01-CA -template User -target 173.100.4.60 -debug
The following is the error report:
[+] Trying to connect to endpoint: ncacn_np:173.100.4.60[\pipe\cert] [proxychains] Strict chain ... 192.168.172.130:1080 ... 173.100.4.60:445 ... OK [+] Connected to endpoint: ncacn_np:173.100.4.60[\pipe\cert] [-] Got error: RequestSessionError: code: 0x80070057 - E_INVALIDARG - One or more arguments are invalid. Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/Certipy-4.0.0-py3.9.egg/certipy/entry.py", line 60, in main actions[options.action](options) File "/usr/local/lib/python3.9/dist-packages/Certipy-4.0.0-py3.9.egg/certipy/commands/parsers/req.py", line 12, in entry req.entry(options) File "/usr/local/lib/python3.9/dist-packages/Certipy-4.0.0-py3.9.egg/certipy/commands/req.py", line 764, in entry request.request() File "/usr/local/lib/python3.9/dist-packages/Certipy-4.0.0-py3.9.egg/certipy/commands/req.py", line 715, in request cert = self.interface.request(csr, attributes) File "/usr/local/lib/python3.9/dist-packages/Certipy-4.0.0-py3.9.egg/certipy/commands/req.py", line 208, in request response = self.dce.request(request) File "/usr/local/lib/python3.9/dist-packages/impacket-0.9.25.dev1+20220502.112312.90866d4c-py3.9.egg/impacket/dcerpc/v5/rpcrt.py", line 880, in request raise exception
The text was updated successfully, but these errors were encountered: