Internet Explorer blocks self-signed ActiveX
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.
精彩评论