Skip to content

Commit 3859959

Browse files
authored
Merge pull request #1 from timsneath/users/frayus/updateCertificateDetails
UpdateCertificateDetailsForOfflineInstall
2 parents 6f57b75 + ba3adac commit 3859959

File tree

1 file changed

+40
-3
lines changed

1 file changed

+40
-3
lines changed

docs/install/install-visual-studio-in-offline-environment.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Special considerations for installing Visual Studio in an offline environment | Microsoft Docs"
33
description: "{{PLACEHOLDER}}"
4-
ms.date: "05/19/2017"
4+
ms.date: "06/05/2017"
55
ms.reviewer: "tims"
66
ms.suite: ""
77
ms.technology:
@@ -47,11 +47,11 @@ If you are scripting the deployment of Visual Studio in an offline environment t
4747
2. Create a batch file with the following commands:
4848

4949
```cmd
50-
certmgr.exe -add -c certificates\manifestSignCertificates.p12 -n "Microsoft Code Signing PCA" -s -r LocalMachine CA
50+
certmgr.exe -add -c certificates\manifestSignCertificates.p12 -n "Microsoft Code Signing PCA 2011" -s -r LocalMachine CA
5151
5252
certmgr.exe -add -c certificates\manifestSignCertificates.p12 -n "Microsoft Root Certificate Authority" -s -r LocalMachine root
5353
54-
certmgr.exe -add -c certificates\manifestCounterSignCertificates.p12 -n "Microsoft Time-Stamp PCA" -s -r LocalMachine CA
54+
certmgr.exe -add -c certificates\manifestCounterSignCertificates.p12 -n "Microsoft Time-Stamp PCA 2010" -s -r LocalMachine CA
5555
5656
certmgr.exe -add -c certificates\manifestCounterSignCertificates.p12 -n "Microsoft Root Certificate Authority" -s -r LocalMachine root
5757
@@ -62,9 +62,46 @@ If you are scripting the deployment of Visual Studio in an offline environment t
6262

6363
3. Deploy the batch file to the client. This command should be run from an elevated process.
6464

65+
### What are the certificates files in the `certificates` folder?
66+
The three `.p12` files in this folder each contain an intermediate certificate and a root certificate. Most systems that are current with Windows Update will have these certificates already installed.
67+
68+
1. `ManifestSignCertificates.p12` contains:
69+
* Intermediate certificate: **Microsoft Code Signing PCA 2011**
70+
* Not required. Improves performance in some scenarios if present.
71+
* Root certificate: **Microsoft Root Certificate Authority 2011**
72+
* Required on Windows 7 Service Pack 1 systems that do not have the latest Windows Updates installed.
73+
2. `ManifestCounterSignCertificates.p12`
74+
* Intermediate certificate: **Microsoft Time-Stamp PCA 2010**
75+
* Not required. Improves performance in some scenarios if present.
76+
* Root certificate: **Microsoft Root Certificate Authority 2010**
77+
* Required for Windows 7 Service Pack 1 systems that do not have the latest Windows Updates installed.
78+
3. `vs_installer_opc.SignCertificates.p12`
79+
* Intermediate certificate: **Microsoft Code Signing PCA**
80+
* Required for all systems. Note that systems that with all updates applied from Windows Update may not have this certificate.
81+
* Root certificate: **Microsoft Root Certificate Authority**
82+
* Required. This certificate ships with systems running Windows 7 or later.
83+
6584
### Why are the certificates from the `certificates` folder not installed automatically?
6685
When a signature is verified in an online environment, Windows APIs are used to download and add the certificates to the system. Verification that the certificate is trusted and allowed via administrative settings occurs during this process. This verification process cannot occur in most offline environments. Installing the certificates manually allows enterprise administrators to ensure the certificates are trusted and meet the security policy of their organization.
6786

87+
### Checking if certificates are already installed
88+
One way to check on the installing system is to follow these steps:
89+
* Run mmc.exe
90+
* Click on File and select Add/Remove Snap-in
91+
* Double-click on **Certificates**, select **Computer account** and click **Next**
92+
* Select **Local computer**, click **Finish**, and click **Ok**
93+
* Expand **Certificates (Local Computer)**
94+
* Expand **Trusted Root Certification Authorities** and select **Certificates**
95+
* Check this list for the necessary root certificates.
96+
* Expand **Intermediate Certification Authorities** and select **Certificates**
97+
* Check this list for the required intermediate certificates.
98+
* Click on File and select Add/Remove Snap-in
99+
* Double-click on **Certificates**, select **My user account**, click **Finish** and **OK**.
100+
* Expand **Certificates – Current User**
101+
* Expand **Intermediate Certification Authorities** and select **Certificates**
102+
* Check this list for the required intermediate certificates.
103+
104+
If the certificates names were not in the **Issued To** columns, they will need to be installed. If an intermediate certificate was only in the **Current User** Intermediate Certificate store, then it is only available to the user that is logged in and could be needed to be installed for other users.
68105

69106
## Install Visual Studio
70107
Having installed the certificates, deployment of Visual Studio can proceed offline without additional special steps, using the [instructions here](create-a-network-installation-of-visual-studio.md#deploying-from-a-network-installation).

0 commit comments

Comments
 (0)