From b9aa78ec0df826f9b5292796c6cc4efe8a411472 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 30 Jun 2023 13:58:28 +0200 Subject: [PATCH] Ensure Let's Encrypt certificates work --- scripts/Windows/Software/Nextcloud/Manage.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/Software/Nextcloud/Manage.ps1 b/scripts/Windows/Software/Nextcloud/Manage.ps1 index 312beaaf..961fd6f1 100644 --- a/scripts/Windows/Software/Nextcloud/Manage.ps1 +++ b/scripts/Windows/Software/Nextcloud/Manage.ps1 @@ -6,6 +6,8 @@ $null = New-Module { choco install nextcloud-client -y --params="'/KeepUpdateCheck'"; } + $null = Invoke-WebRequest https://valid-isrgrootx1.letsencrypt.org/; + while (-not (Test-Path $context.GetNextcloudConfigFile())) { Write-Host "Nextcloud has been installed!"; Read-Host "Please log in in the Nextcloud app and hit enter to continue";