2

I have create a self-signed certificate and signed my ActiveX. I followed the steps in this topic. (How do I create a self-signed certificate for code signing on Windows?)

One difference is that my executable files come in MSI package. So I used signtool to sign the MSI file and all other DLLs/Exe inside the MSI.

I imported the certificate to trusted root store. When I clicked download the MSI, I could see that the publisher is correct, and it wasn't 'Unknown Publisher'. IE allows me to download and run MSI file,but when I tried to call my ActiveX,IE blocks it. (Error: Automation server can't create object)

I found some websites mentioned that I have to set CN="my web site URL", what should I put for "localhost"?

My activeX will be used in intranet network,so I don't want to buy cert from those CA.

Please help. Thank you.

Community
  • 1
  • 1
Aing
  • 21
  • 2
  • 2
    @Aing: Is your ActiveX marked "safe for scripting"? http://msdn.microsoft.com/en-us/library/aa751977(VS.85).aspx – Andy E Feb 20 '10 at 15:03

0 Answers0