locked
make publisher truested RRS feed

  • Question

  • I have:

    - server domain, where the application is developed and deployed
    - my own machine, not part of the server domain, on which I test the application

    When I install the app on my machine - it asks me if I trust the publisher (and whether to continue with installation or not). What I want to achieve is to make the publisher trusted beforehead I run the installation and proceed the installation smoothly without questions about trusting publishers, whatsoever.

    For this purpose I have created a self-signed certificate from the server domain (*I tried with  both`.p7b` and `.pfx` types of certificates*), get the certificate file on my testing machine and deploy it (import the certificate in Trusted Publishers (and eventually tried to import it in other directories also).
     
    Despite these actions, when I run the installation, it still asks me whether I trust the publisher.
    Friday, May 3, 2013 1:37 PM

Answers

  • Hi funkycookie,

    A certificate generated by VS or makecert.exe is not a trusted certificate. If you don't want to get the prompt to ask you whether if you trust the publisher, you can try to install this certificate into Trusted Root Certification Authorities for internal use. A warning will be also prompted. Else you need to buy a certificate from CA.

    You can also reference to this article if you are using ClickOnce technology:

    http://msdn.microsoft.com/en-us/library/ms996418.aspx

    Best regards,


    Chester Hong
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    Monday, May 6, 2013 10:19 PM