How to add a certificate to the root trusted certificate but no alert window in C# RRS feed

  • Question

  • Hi,

    I'm working on a project which is packaging the help file to VS 2010. I look for some informations, and I known steps of packaging. As follows:

    1. Composited the help file with the extension name called ".cab"
    2. Constructed a certificate file for current user
    3. Install the certificate to the system.
    4. Signed the .cab file with the certificate.
    5. Install .cab file to VS2010 with help viewer.

    I coded an application to realized steps as above. It was failed in step 4 after I installed the certificate as personal certificate. I found that it would be ok when I installed the certificate in root trusted certificate. But when I'm installing the certificate as a root trusted certificate, did the confirm window pop up!

    I wana install the root trusted certificate with no confirm window in coding C# console application. How did I do?

    Wednesday, August 31, 2011 7:25 AM

All replies

  • Hi

    You can achieve this by configuring as follows

    Tools - Internet options - Advanced - remove check in "Warn on invalid certificates"

    Once you set this option once, there no necessary for handling in code.


    Monday, September 26, 2011 1:22 PM