Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to properly sign a VSIX package created by VS2012?

$
0
0

Hi,

We are attempting to correctly sign a VSIX package for VS2012. We tried to create two different types of VSIX packages: an Extension SDK and a Sample. Both VSIX packages we created installed fine in VS2012. We attempted to add a digital signature to the package, but everytime we try to install a signed package, we always get this warning: "This extension contains a digital signature with an invalid certificate".

Some notes:

  • The signing certificate we use is valid until 2014 and we use the same signing certificate to sign other binaries we produce. The certificate path is valid all the way to the root.
  • We followed the signing method as specified here: http://msdn.microsoft.com/en-us/library/system.io.packaging.packagedigitalsignaturemanager.sign.aspx which we also got from here: http://msdn.microsoft.com/en-us/library/dd997171.aspx We also attempted to just modify the sample "Creating a Package with a Digital Signature Sample" instead of using the one we wrote, but it also gives us the same warnings.

Please advise on how to proceed.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>