title: Signing a cab file
body: <p>Disclaimer: I have no experience in signing the files and this is my first time.</p>
  
  <p>We have a wildcard SSL certificate for our websites. Now we are going to host an ActiveX control on one of our sites. When I try to sign my cab file using that certificate it gives error "private key and the certificate does not match or does not contain valid information". The steps that I performed to sign the cab file are below:
  1. I exported the certificate along with the private key to pfx file.
  2. I created the pvk file and spc file from pfx file using the instructions given here: <a href="http://www.tech-pro.net/export-to-pvk-spc.html" rel="nofollow">http://www.tech-pro.net/export-to-pvk-spc.html</a>
  3. I launched signtool signwizard to sign my cab file using the generated pvk and spc files.</p>
  
  <p>I am stuck at this point for last 3 days now and could not seem to find the right answer. I also want to know if our wildcard ssl certificate is good enough to sign files or do I have to purchase a specific certificate for this purpose. When i look at my certificate details by double clicking it, the only purpose mentioned on the certificate is "Ensures the identity of a remote computer". Could this be the reason i am getting error when signing?</p>
  
  <p>Please help me out on this one.</p>
  
  <p>Thanks and Regards,
  Naveed</p>