-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add double quotes wrapping $CAFullname #220
Comments
Looks like the formatting broke what I entered. Should be a backtick, double quote, $($CAFullName), backtick, double quote |
Great catch! Do you want to submit the PR? |
I don't have this broken out into a fork or branch anywhere. I'll get around to it sometime, but for now I'm a little pressed for time. |
Not a problem. I'll get it handled probably tomorrow morning then. Thanks! |
…ng-$cafullname Clean up quotation marks (#220)
@systeminsecure, this has been merged into the testing branch. If you don't mind testing, I don't mind saying thanks! |
Can confirm the fix works. |
Excellent. Thank you! |
Describe the Bug
Suggested fix output for ESC11 does not run correctly when CAFullName has spaces.
Steps To Reproduce
Copy suggested fix code from output after tool has run, run suggested code on CA in either cmd prompt or powershell, receive error "CertUtil: Too many arguments".
Expected Behavior
The command executes successfully.
Environment
Additional Context
This can be fixed by changing lines 369 and 378 to the following:
certutil -config
"$($CAFullname)
" -setreg CA\InterfaceFlags +IF_ENFORCEENCRYPTICERTREQUESTGreat tool - Thanks!!
The text was updated successfully, but these errors were encountered: