Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit bbc7031

Browse files
authored
Added section for winhttp fix.
winhttp uses TLS1 by default, which GitHub appears to no longer accept. This means that when running `Invoke-WebRequest` and pointing to a GitHub repo it will fail, citing an SSL error. The provided fix will change the protocol for the current session only. Also made a minor punctuation change.
1 parent 375c430 commit bbc7031

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Unzip the archive and make sure the folder is called: `VeeamSlackNotifications`
3636
```powershell
3737
Invoke-WebRequest -Uri https://github.com/tigattack/VeeamSlackNotifications/archive/2.1.zip -OutFile C:\VeeamScripts\VeeamSlackNotifications-v1.0.zip
3838
```
39+
You may recieve an SSL error as winhttp uses TLS1 by default, which GitHub appears to no longer accept. IF you recieve this error, run the following and re-issue the above command.
40+
```powershell
41+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
42+
```
3943

4044
#### Extract and clean up
4145
```shell
@@ -54,7 +58,7 @@ cp C:\VeeamScripts\VeeamSlackNotifications\config\vsn.example.json C:\VeeamScrip
5458
notepad.exe C:\VeeamScripts\VeeamSlackNotifications\config\vsn.json
5559
```
5660

57-
Finally open Veeam and configure your jobs. Edit them and click on the <img src="asset/img/screens/sh-3.png" height="20"> button.
61+
Finally, open Veeam and configure your jobs. Edit them and click on the <img src="asset/img/screens/sh-3.png" height="20"> button.
5862

5963
Navigate to the "Scripts" tab and paste the following line the script that runs after the job is completed:
6064

0 commit comments

Comments
 (0)