tag:help.appveyor.com,2012-11-13:/discussions/questions/871-installing-trusted-certificatesAppVeyor: Discussion 2018-10-19T08:16:57Ztag:help.appveyor.com,2012-11-13:Comment/357767552015-01-14T07:19:38Z2015-01-14T07:19:38ZInstalling Trusted Certificates?<div><p>Our build is running just fine at the moment, and MSTEST unit
test are running just fine.<br>
Now its time to run our integration tests. We have both web service
integration tests and Protractor UI tests to run.</p>
<p>We have many web applications/services, and they all run on
Windows Azure. Many of them call each other over HTTP/HTTPS.</p>
<p>On the desktop, when we run the integration tests they
automatically spawn up the azure emulator, deploy the web apps and
then run the tests. We have all this automated in the tests
themselves by calling csrun.exe. And it all works just fine in our
desktop environments.</p>
<p>One last thing. Many of our web apps use HTTPS instead of HTTP.
And in order for them to call each other over HTTPS in the tests we
need to use self-signed certificates, AND these certificates must
be trusted by the local machine. (They must exist in the 'Trusted'
certificate store). We dont yet have that part automated.</p>
<p>It seems like others have had success running integration tests
using the 'Unstable' environment, so we will try that also, but how
can we trust our certifcates?</p>
<p>Do we simply need to run a PS script on 'install' or 'init' to
do that?<br>
Will we have the relevant permissions to do that on the 'Unstable'
environment?</p></div>jezz.santostag:help.appveyor.com,2012-11-13:Comment/357767552015-01-14T17:37:20Z2015-01-14T17:37:20ZInstalling Trusted Certificates?<div><p>You could import those certificates during the build using
PowerShell: <a href=
"http://technet.microsoft.com/en-us/library/hh848625.aspx">http://technet.microsoft.com/en-us/library/hh848625.aspx</a></p>
<p>Build agent works under account in "Administrators" group so
permissions is not a problem.</p>
<p>Let me know if you have any questions.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/357767552015-01-14T18:58:16Z2015-01-14T18:58:16ZInstalling Trusted Certificates?<div><p>thanks, that is what I needed to confirm</p></div>jezz.santos