tag:help.appveyor.com,2012-11-13:/discussions/problems/28639-msbuild-no-certificate-found-with-the-supplied-thumbprint-after-importing-itAppVeyor: Discussion 2020-11-30T22:28:05Ztag:help.appveyor.com,2012-11-13:Comment/488634822020-11-28T19:51:04Z2020-11-28T19:51:10ZMSBuild: No certificate found with the supplied thumbprint after importing it.<div><p>I am using appveyor to build an app with msbuild. It requires a certificate to be installed to the system. I have used to secure variables and powershell to import my pfx file into LocalMachine\Root. It seems like it imports correctly because it prints the thumbprint of the certificate. However, MSBuild complains that the certificate with that same thumbprint is not installed. Here is the link to my appveyor build: <a href="https://ci.appveyor.com/project/ThatWeirdAndrew/gentoowsl">https://ci.appveyor.com/project/ThatWeirdAndrew/gentoowsl</a></p></div>andrewfehrtag:help.appveyor.com,2012-11-13:Comment/488634822020-11-30T01:42:15Z2020-11-30T01:42:15ZMSBuild: No certificate found with the supplied thumbprint after importing it.<div><p>Looks like a similar issue which is not yet resolved: <a href="https://developercommunity.visualstudio.com/content/problem/881015/no-certificate-found-with-the-supplied-thumbprint.html">https://developercommunity.visualstudio.com/content/problem/881015/...</a></p>
<p>Well, the only things I can suggest to try are:</p>
<ol>
<li>Use <code>Visual Studio 2019</code> image, not a preview<br></li>
<li>Try importing certificate to user store, not machine<br></li>
<li>Connect to build VM <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">via RDP</a> and try building from IDE and command line while there. Check if cert is properly imported.<br></li>
<li>Make sure you are able to build locally from a command line with the same commands as in build.</li>
</ol>
<p>Hope that helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/488634822020-11-30T22:27:38Z2020-11-30T22:28:05ZMSBuild: No certificate found with the supplied thumbprint after importing it.<div><p>I thought I had tried importing it to the user store but I guess I hadn't. Importing to CurrentUser\My solved my problem. Thanks!</p></div>andrewfehr