You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> <summary><strong>What does this script do? (click to expand)</strong></summary>
99
-
> <ul class="list-style-type-disc">
100
-
> <li>Installs Chocolatey client from https://community.chocolatey.org</li>
101
-
> <li>Prompts for your C4B license file location, with validation</li>
102
-
> <li>Converts your C4B license into a Chocolatey package</li>
103
-
> <li>Configures local "choco-setup" directories</li>
104
-
> <li>Downloads setup files from "choco-quickstart-scripts" GitHub repo</li>
105
-
> <li>Downloads Chocolatey packages required for setup</li>
106
-
> </ul>
107
-
> </details>
95
+
> :memo:**Offline Install**: You can now copy the `C:\choco-setup\` directory to any computer to continue the installation. To zip up that directory, run `Compress-Archive -Path C:\choco-setup\files\* -DestinationPath C:\choco-setup\C4B-Files.zip`. Move the archive to your new machine, and run `Expand-Archive -Path /path/to/C4B-Files.zip -DestinationPath C:\choco-setup\files -Force`. You should then run `Set-Location "$env:SystemDrive\choco-setup\files"; .\Initialize-C4bSetup.ps1`, and continue with the guide.
108
96
109
-
> :memo:**Offline Install**: You can now copy the `C:\choco-setup\` directory to any computer to continue the installation. To zip up that directory, run `Compress-Archive -Path C:\choco-setup\files\* -DestinationPath C:\choco-setup\C4B-Files.zip`. Move the archive to your new machine, and run `Expand-Archive -Path /path/to/C4B-Files.zip -DestinationPath C:\choco-setup\files -Force`. You should then run `Set-Location "$env:SystemDrive\choco-setup\files"; .\Start-C4bSetup.ps1`, and continue with the guide.
97
+
#### Certificate Options
110
98
111
-
#### Running with a Certificate
112
-
113
-
**ALTERNATIVE 1 : Custom SSL Certificate** - If you have your own custom SSL certificate (purchased/acquired, or from your Domain CA), you can paste and run the following script with the `Thumbprint` value of your SSL certificate specified:
99
+
**Custom SSL Certificate** - If you have your own custom SSL certificate (purchased/acquired, or from your Domain CA), you can paste and run the following script with the `Thumbprint` value of your SSL certificate specified:
> :warning:**REMINDER**: If you are using your own SSL certificate, be sure to place this certificate in the `Local Machine > Trusted People` certificate store before running the above script, and ensure that the private key is exportable.
121
-
122
-
> :memo:**NOTE**
123
-
> A Role and User credential will be configured to limit access to your Nexus repositories. As well, CCM Client and Service Salts are configured to further encrypt your connection between CCM and your endpoint clients. These additional settings are also incorporated into your `Register-C4bEndpoint.ps1` script for onboarding endpoints.
124
-
125
-
**ALTERNATIVE 2 : Wildcard SSL Certificate** - If you have a wildcard certificate, you will also need to provide a DNS name you wish to use for that certificate:
106
+
**Wildcard SSL Certificate** - If you have a wildcard certificate, you will also need to provide a DNS name you wish to use for that certificate:
> :warning:**REMINDER**: If you are using your own SSL certificate, be sure to place this certificate in the `Local Machine > Trusted People` certificate store before running the above script, and ensure that the private key is exportable.
121
+
122
+
> :memo:**NOTE**
123
+
> A Role and User credential will be configured to limit access to your Nexus repositories. As well, CCM Client and Service Salts are configured to further encrypt your connection between CCM and your endpoint clients. These additional settings are also incorporated into your `Register-C4bEndpoint.ps1` script for onboarding endpoints.
124
+
125
+
**Self-Signed Certificate** - If you are running a bare-minimum proof of concept environment, you can generate a self-signed certificate and use that.
126
+
127
+
```powershell
128
+
Set-Location "$env:SystemDrive\choco-setup\files"
129
+
.\Initialize-C4bSetup.ps1
130
+
```
131
+
132
+
> <details>
133
+
> <summary><strong>What does this script do? (click to expand)</strong></summary>
134
+
> <ulclass="list-style-type-disc">
135
+
> <li>Installs Chocolatey client from https://community.chocolatey.org</li>
136
+
> <li>Prompts for your C4B license file location, with validation</li>
137
+
> <li>Converts your C4B license into a Chocolatey package</li>
138
+
> <li>Configures local "choco-setup" directories</li>
139
+
> <li>Downloads setup files from "choco-quickstart-scripts" GitHub repo</li>
140
+
> <li>Downloads Chocolatey packages required for setup</li>
141
+
> </ul>
142
+
> </details>
143
+
139
144
#### Script: Nexus Setup
140
145
141
146
As part of the C4B setup, we install and configure Sonatype Nexus Repository, which is used for hosting your Chocolatey packages internally:
@@ -198,23 +203,6 @@ As part of the C4B setup, we create a readme and install the Chocolatey Agent on
198
203
199
204
> :mag:**FYI**: A `Readme.html` file will now be generated on your desktop. This file contains login information for all 3 web portals (CCM, Nexus, and Jenkins). This `Readme.html`, along with all 3 web portals, will automatically be opened in your browser.
200
205
201
-
### Script: Verification
202
-
203
-
As a part of the C4B setup, we run tests to validate that your environment is correctly configured:
204
-
205
-
> <details>
206
-
> <summary><strong>What does this script do? (click to expand)</strong></summary>
207
-
> <ulclass="list-style-type-disc">
208
-
> <li>Verifies Nexus Repository installation</li>
209
-
> <li>Verifies Central Management installation</li>
210
-
> <li>Verifies Jenkins installation</li>
211
-
> <li>Ensures system firewall is configured</li>
212
-
> <li>Ensures Windows Features are installed</li>
213
-
> <li>Ensures services are correctly configured</li>
214
-
> <li>Ensured README is created</li>
215
-
> </ul>
216
-
> </details>
217
-
218
206
### Step 2: Setting up Endpoints
219
207
220
208
1. Find the `Register-C4bEndpoint.ps1` script in the `C:\choco-setup\files\scripts\` directory on your C4B Server. Copy this script to your client endpoint.
0 commit comments