views:

280

answers:

1

I have create a self-signed certificate and signed my ActiveX. I followed the steps in this topic. (http://stackoverflow.com/questions/84847/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.

A: 

Thank you for your advice. It works. :D

My ActiveX is C# based so I followed this link and it solved my problem.

Aing

related questions