Installing visual studio extension offline does not work (Extension is signed with an invalid certificate)

Vote:
 

Trying to install the below VS extension for Episerver, but it does not work.

https://marketplace.visualstudio.com/items?itemName=EPiServer.EpiserverCMSVisualStudioExtension

I have no internet access on the machine I want to install it on.

The installer says everything is ok, but when I start VS again I cannot create any EPiServer stuff when creating new class etc.

Some rows from the log...:

2020-01-31 07:54:18 - Signature Details...
2020-01-31 07:54:18 - Extension is signed with an invalid certificate
2020-01-31 07:54:18 - (PartialChain) : A certificate chain could not be built to a trusted root authority.
2020-01-31 07:54:18 - (RevocationStatusUnknown): The revocation function was unable to check revocation for the certificate.
2020-01-31 07:54:18 - (OfflineRevocation) : The revocation function was unable to check revocation because the revocation server was offline.

2020-01-31 07:54:18 - Searching for applicable products...
2020-01-31 07:54:18 - Found installed product - Global Location
2020-01-31 07:54:18 - Found installed product - Visual Studio Professional 2019
2020-01-31 07:54:18 - The extension with ID 'EPiServer.CMS.B7A45E5E-3836-4864-A117-95207E71A9B3' is not installed to Visual Studio Professional 2019.
2020-01-31 07:55:00 - InstallProgressPage ChangeType: 'SingleInstall' operationCount: '2' Text: 'Installing Episerver CMS Visual Studio Extension...'
2020-01-31 07:55:00 - The following target products have been selected...
2020-01-31 07:55:00 - Visual Studio Professional 2019

...

2020-01-31 07:55:00 - Capping recursion at 5 directories in each extension root due to 'default limit'.
2020-01-31 07:55:00 - Found 'C:\USERS\U0074528\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_BE7F1181\EXTENSIONS\zbzob03r.0gn\extension.vsixmanifest'
2020-01-31 07:55:00 - Skipping 'C:\Program Files (x86)\Common Files\Microsoft\ExtensionManager\Extensions' as it doesn't exist
2020-01-31 07:55:00 - Skipping 'C:\Users\u0074528\AppData\Local\Microsoft SDKs' as it doesn't exist
2020-01-31 07:55:00 - Beginning to install extension to Visual Studio Professional 2019...
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.Windows.UniversalCRT.Msu.8: The current OS Version '10.0.17763.0' is not in the supported version range '[6.2,6.3)'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.Windows.UniversalCRT.Msu.81: The current OS Version '10.0.17763.0' is not in the supported version range '[6.3,6.4)'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.Net.4.7.2.FullRedist: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1.1,10.0.16299]'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.VisualStudio.Debugger.DbgHelp.Win8: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.3]'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.3]'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.VisualStudio.Debugger.Remote.DbgHelp.Win8: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.3]'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.VisualStudio.NuGet.PowershellBindingRedirect: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.2)'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.Windows.UniversalCRT.Msu.7: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.2)'.
2020-01-31 07:55:03 - Skipping non-applicable package Microsoft.DiagnosticsHub.KB2882822.Win7: The current OS Version '10.0.17763.0' is not in the supported version range '[6.1,6.2)'.
2020-01-31 07:55:04 - Skipping non-applicable package Microsoft.Azure.PowerShell: Required conditions are not satisfied: Not Powershell5
2020-01-31 07:55:04 - Skipping non-applicable package Microsoft.VisualStudio.OfficeDeveloperTools.WindowsIdentityFoundation.Msu: The current OS Version '10.0.17763.0' is not in the supported version range '(,6.2)'.
2020-01-31 07:55:04 - Failed to create system restore point: 0x00000422
2020-01-31 07:55:07 - Certificate is invalid: EPiServer.VsIntegration.Package.vsix
2020-01-31 07:55:07 - Cache failed. Retrying download of 'EPiServer.CMS.B7A45E5E-3836-4864-A117-95207E71A9B3,version=11.6.0.421'.
2020-01-31 07:55:07 - Certificate is invalid: EPiServer.VsIntegration.Package.vsix
2020-01-31 07:55:07 - Skipping cache of package 'Component.EPiServer.CMS.B7A45E5E-3836-4864-A117-95207E71A9B3,version=11.6.0.421' since the package or a parent package had a vital failure.
2020-01-31 07:55:21 - Install to Visual Studio Professional 2019 completed successfully. The extension has been installed to C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\PROFESSIONAL\COMMON7\IDE\EXTENSIONS\J10FFDJJ.MT1\

#216262
Jan 31, 2020 7:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.