This is an old question, but it looks like you're using word processor "smart quotes" rather than double ASCII quotes.
So the problem is not with makecert , but with the way you entered this command. The Windows command shell, cmd.exe , does not see "CN=MyCert CA" as a quoted word. Instead, he sees two simple words: "CN=MyCert and CA" , with “smart quotes” being part of the word.
- The double ASCII quotation mark
" has a code point of U + 0022 (aka '\ x22' in C # or C). - The left double “smart” quote “,
" has a code point of U + 201C (aka '\ u201C' in C #). - The correct double smart quote has a code point of U + 201D (aka '\ u201D' in C #).
And therefore a mistake.
source share