title: VSTS IIS Deploy Configure IIS site SSL Certificates
body: <p>I'm using VSTS to deploy an asp.net website using the IIS Web App Manage and IIS Web App Deploy tasks which works however I'm looking at ways to automate the installation and configuration of the sites SSL certificate so that I don't have to manually install the ssl cert before deploying the site on the host machine.</p>
  
  <p>I'm considering using the following approach.</p>
  
  <p>1) Include the ssl certificate in the vs solution.</p>
  
  <p>2) Deploy the ssl certificate as part of the site deploy and use the 
     remote powershell task to run 'CertMgr' to install the certificate in the 
     localmachines personal certificate store.</p>
  
  <p>In an ideal world I'd like to include the SSL certificate as part of the deploy definition in VSTS but I couldn't see an option for this? Before I go down the VS solution route is there away to configure VSTS deploy task to download and install an SSL certificate on the remote destination machine?</p>