title: Cannot install Microsoft Visual Studio 2017 Installer Projects due to invalid certificate
body: <p>I've been trying to install the <a href="https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects" rel="noreferrer">Microsoft Visual Studio 2017 Installer Projects</a> for VS 2017 Professional for some time now without success. First, I tried through the Extensions and Updates wizard within VS2017. It downloads correctly, but when I close VS to kick off the install if fails immediately with the following:</p>
  
  <p><a href="https://i.stack.imgur.com/ZXxa5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZXxa5.png" alt="VSIX Error"></a></p>
  
  <p>I then grabbed the VSIX from the Visual Studio Marketplace and tried to install it via the following command line:</p>
  
  <p><code>VSIXInstaller InstallerProjects.vsix</code></p>
  
  <p>This seemed to get me further, but also clued me into the certificates being the issue. Not how it says <code>Digital Signature: Invalid Certificate</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/jFVtd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jFVtd.png" alt="Digital Signature: Invalid Certificate"></a></p>
  
  <p>After clicking through to continue  the install, it fails and allows me to see the logs:</p>
  
  <p><a href="https://i.stack.imgur.com/IhKCQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IhKCQ.png" alt="VSIX Command Line Install Fail"></a></p>
  
  <p>The logs seem to echo the certificate issue here:</p>
  
  <pre><code>10/17/2017 1:11:21 PM - Signature Details...
  10/17/2017 1:11:21 PM -     Extension is signed with an invalid certificate
  10/17/2017 1:11:21 PM -         (PartialChain)      : A certificate chain could not be built to a trusted root authority.
  10/17/2017 1:11:21 PM -         (RevocationStatusUnknown): The revocation function was unable to check revocation for the certificate.
  10/17/2017 1:11:21 PM -         (OfflineRevocation) : The revocation function was unable to check revocation because the revocation server was offline.
  </code></pre>
  
  <p>And here:</p>
  
  <pre><code>10/17/2017 1:15:30 PM - Certificate is invalid: InstallerProjects.vsix
  10/17/2017 1:15:36 PM - Skipping Install of 'VSInstallerProjects,version=0.8.4' since downloading it failed.
  10/17/2017 1:15:36 PM - Skipping cache of package 'VSInstallerProjects,version=0.8.4' since the package or a parent package had a vital failure.
  10/17/2017 1:15:36 PM - Skipping cache of package 'Component.VSInstallerProjects,version=0.8.4' since the package or a parent package had a vital failure.
  10/17/2017 1:15:47 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'VSInstallerProjects' failed to download
     at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
     at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
     at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
     at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension&amp; newExtension)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
     at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)
  </code></pre>
  
  <p>Any thoughts on what could be happening?</p>